hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4616) Update the FilesDeleted metric while deleting file/dir in the current tree
Date Thu, 21 Mar 2013 19:31:16 GMT

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

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

I have committed this.  Thanks, Jing!
                
> 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

Mime
View raw message