You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "LiXin Ge (JIRA)" <ji...@apache.org> on 2018/03/01 06:14:00 UTC
[jira] [Commented] (HDFS-13192) Change the code order in
getFileEncryptionInfo to avoid unnecessary call of assignment
[ https://issues.apache.org/jira/browse/HDFS-13192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381570#comment-16381570 ]
LiXin Ge commented on HDFS-13192:
---------------------------------
[~elgoiri] Thanks for review and commit this!
> 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.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org