Jing Zhao created HDFS-4616:
-------------------------------

             Summary: 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
            Reporter: Jing Zhao
            Assignee: Jing Zhao
            Priority: Minor
         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