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

2014-07-23 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-6738:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12657363/HDFS-6738.001.patch
  against trunk revision .

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7442//console

This message is automatically generated.

 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)


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

2014-07-23 Thread Uma Maheswara Rao G (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-6738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)