[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2014-02-14 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

SUCCESS: Integrated in Hadoop-trunk-Commit #5169 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5169/])
Move Flatten INode hierarchy jiras (HDFS-5531, HDFS-5285, HDFS-5286, HDFS-5537, 
HDFS-5554, HDFS-5647, HDFS-5632, HDFS-5715, HDFS-5726) to 2.4.0 section in 
CHANGES.txt (jing9: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1568218)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0, 2.4.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2014-02-14 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

SUCCESS: Integrated in Hadoop-Yarn-trunk #481 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/481/])
Move Flatten INode hierarchy jiras (HDFS-5531, HDFS-5285, HDFS-5286, HDFS-5537, 
HDFS-5554, HDFS-5647, HDFS-5632, HDFS-5715, HDFS-5726) to 2.4.0 section in 
CHANGES.txt (jing9: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1568218)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0, 2.4.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2014-02-14 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1673 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1673/])
Move Flatten INode hierarchy jiras (HDFS-5531, HDFS-5285, HDFS-5286, HDFS-5537, 
HDFS-5554, HDFS-5647, HDFS-5632, HDFS-5715, HDFS-5726) to 2.4.0 section in 
CHANGES.txt (jing9: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1568218)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0, 2.4.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2014-02-14 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1698 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1698/])
Move Flatten INode hierarchy jiras (HDFS-5531, HDFS-5285, HDFS-5286, HDFS-5537, 
HDFS-5554, HDFS-5647, HDFS-5632, HDFS-5715, HDFS-5726) to 2.4.0 section in 
CHANGES.txt (jing9: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1568218)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0, 2.4.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-27 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #404 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/404/])
HDFS-5286. Flatten INodeDirectory hierarchy: Replace INodeDirectoryWithQuota 
with DirectoryWithQuotaFeature. (szetszwo: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1545768)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/DirectoryWithQuotaFeature.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/Snapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSImageWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsLimits.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestRenameWithSnapshots.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshotDeletion.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/util/TestDiff.java


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-27 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1595 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1595/])
HDFS-5286. Flatten INodeDirectory hierarchy: Replace INodeDirectoryWithQuota 
with DirectoryWithQuotaFeature. (szetszwo: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1545768)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/DirectoryWithQuotaFeature.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/Snapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSImageWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsLimits.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestRenameWithSnapshots.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshotDeletion.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/util/TestDiff.java


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-27 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1621 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1621/])
HDFS-5286. Flatten INodeDirectory hierarchy: Replace INodeDirectoryWithQuota 
with DirectoryWithQuotaFeature. (szetszwo: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1545768)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/DirectoryWithQuotaFeature.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/Snapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSImageWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsLimits.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestRenameWithSnapshots.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshotDeletion.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/util/TestDiff.java


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-26 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-5286:
-

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

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 7 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-hdfs-project/hadoop-hdfs:

  
org.apache.hadoop.hdfs.server.balancer.TestBalancerWithNodeGroup

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/5574//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/5574//console

This message is automatically generated.

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-26 Thread Tsz Wo (Nicholas), SZE (JIRA)

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

Tsz Wo (Nicholas), SZE commented on HDFS-5286:
--

 ... Instead can't we make interface as Abstract and remove these duplicated 
 classes in INodeFile and INodeDirecory..? 

If we remove the duplicated classes, then we could put file specific features 
such to FileUnderConstructionFeature to a directory.  Now, it is impossible 
since it is a compilation error.  So, let's keep them as-is.

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-26 Thread Hudson (JIRA)

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

Hudson commented on HDFS-5286:
--

SUCCESS: Integrated in Hadoop-trunk-Commit #4795 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4795/])
HDFS-5286. Flatten INodeDirectory hierarchy: Replace INodeDirectoryWithQuota 
with DirectoryWithQuotaFeature. (szetszwo: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1545768)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/DirectoryWithQuotaFeature.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectory.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/Snapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSImageWithSnapshot.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsLimits.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestRenameWithSnapshots.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshotDeletion.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/util/TestDiff.java


 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Fix For: 3.0.0

 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-25 Thread Jing Zhao (JIRA)

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

Jing Zhao commented on HDFS-5286:
-

The patch looks great. The only concern is that maybe we do not need to clone 
the feature list?

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-25 Thread Jing Zhao (JIRA)

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

Jing Zhao commented on HDFS-5286:
-

Thanks for the update Nicholas! +1 pending Jenkins.

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch, h5286_20131125.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-5286:
-

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

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 7 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 5 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-hdfs-project/hadoop-hdfs.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/5566//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/5566//console

This message is automatically generated.

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch, h5286_20131125.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-25 Thread Vinay (JIRA)

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

Vinay commented on HDFS-5286:
-

Thanks Nicholas, 
Patch looks pretty good.

Following are some of my doubts.. If its ok for you, then here is my +1!!

Here dont we need to call the {{addSpaceConsumed2Parent}} regardless of current 
directory have quota set or not..?
{code}+  @Override
+  public void addSpaceConsumed(long nsDelta, long dsDelta, boolean verify) 
+  throws QuotaExceededException {
+final DirectoryWithQuotaFeature q = getDirectoryWithQuotaFeature();
+if (q != null) {
+  q.addSpaceConsumed(this, nsDelta, dsDelta, verify);
+} else {
+  addSpaceConsumed2Parent(nsDelta, dsDelta, verify);
+}
+  }{code}


Do you have any plan to add separate methods to Abstract classes in INodeFile 
and INodeDirectory..? currently both of these are looks duplicated
Instead can't we make interface as Abstract and remove these duplicated classes 
in INodeFile and INodeDirecory..? 
{code}
+  public static abstract class Feature implements INode.FeatureFeature {
 private Feature nextFeature;{code}

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-25 Thread Vinay (JIRA)

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

Vinay commented on HDFS-5286:
-

Oh!!. I missed the first one. {{addSpaceConsumed2Parent}} is called inside 
{{DirectoryWithQuotaFeature#addSpaceConsumed}}
Instead of passing {{this}} to  {{DirectoryWithQuotaFeature#addSpaceConsumed}} 
to call {{addSpaceConsumed2Parent}} better to call in 
INodeDirectory#addSpaceConsumed itself.

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch, h5286_20131125.patch, 
 h5286_20131125b.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HDFS-5286) Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature

2013-11-22 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-5286:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12615400/h5286_20131122.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 7 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-hdfs-project/hadoop-hdfs.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/5546//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/5546//console

This message is automatically generated.

 Flatten INodeDirectory hierarchy: add DirectoryWithQuotaFeature
 ---

 Key: HDFS-5286
 URL: https://issues.apache.org/jira/browse/HDFS-5286
 Project: Hadoop HDFS
  Issue Type: Sub-task
  Components: namenode
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
 Attachments: h5286_20131122.patch


 Similar to the case of INodeFile (HFDS-5285), we should also flatten the 
 INodeDirectory hierarchy.
 This is the first step to add DirectoryWithQuotaFeature for replacing 
 INodeDirectoryWithQuota.



--
This message was sent by Atlassian JIRA
(v6.1#6144)