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

Hudson commented on HDFS-4616:
------------------------------

Integrated in Hadoop-Hdfs-Snapshots-Branch-build #137 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/137/])
    HDFS-4616. Update the FilesDeleted metric while deleting file/dir in the 
current tree.  Contributed by Jing Zhao (Revision 1459485)

     Result = FAILURE
szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1459485
Files : 
* 
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-2802.txt
* 
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeDirectory.java
* 
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
* 
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeSymlink.java
* 
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java

                
> Update the FilesDeleted metric while deleting file/dir in the current tree
> --------------------------------------------------------------------------
>
>                 Key: HDFS-4616
>                 URL: https://issues.apache.org/jira/browse/HDFS-4616
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: HDFS-4616.001.patch
>
>
> Currently in INode#cleanSubtree(...) we only calculate the 
> namespace/diskspace change when deleting snapshots. We also need to compute 
> the space change when deleting files/directories in the current tree so as to 
> update the FilesDeleted metric. This can fix the failing testcase 
> TestNameNodeMetrics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to