You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2014/07/23 08:38:38 UTC

[jira] [Created] (HDFS-6738) Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone

Uma Maheswara Rao G created HDFS-6738:
-----------------------------------------

             Summary: 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


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)