hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6738) Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone
Date Wed, 23 Jul 2014 15:18:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071848#comment-14071848
] 

Uma Maheswara Rao G commented on HDFS-6738:
-------------------------------------------

+1

> Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-6738
>                 URL: https://issues.apache.org/jira/browse/HDFS-6738
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>            Priority: Minor
>         Attachments: HDFS-6738.001.patch
>
>
> We can remove the following getEncryptionZoneForPath call below.
> {code}
> // done this way to handle edit log loading
>     dir.unprotectedSetXAttrs(src, xattrs, EnumSet.of(XAttrSetFlag.CREATE));
>     ezi = getEncryptionZoneForPath(srcIIP);
>     return ezXAttr;
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message