[ 
https://issues.apache.org/jira/browse/HDFS-13192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wangda Tan updated HDFS-13192:
------------------------------
    Fix Version/s: 3.1.0

> Change the code order in getFileEncryptionInfo to avoid unnecessary call of 
> assignment
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-13192
>                 URL: https://issues.apache.org/jira/browse/HDFS-13192
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: encryption
>    Affects Versions: 3.1.0
>            Reporter: LiXin Ge
>            Assignee: LiXin Ge
>            Priority: Minor
>             Fix For: 3.1.0, 3.2.0
>
>         Attachments: HDFS-13192.001.patch, HDFS-13192.002.patch, 
> HDFS-13192.003.patch, org.apache.hadoop.hdfs.TestEncryptionZones-output.txt
>
>
> The assignment of {{version,suite}} and {{keyName}} should happen lazily, 
> right before it's used in case the {{fileXAttr}} is *null*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to