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] [Created] (HDFS-6738) Remove unnecessary getEncryptionZoneForPath call in EZManager#createEncryptionZone
Date Wed, 23 Jul 2014 06:38:38 GMT
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)

Mime
View raw message