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

Suresh Srinivas commented on HDFS-5986:
---------------------------------------

Yes. It is the PendingDeletetionBlocksCount from invalidateBlocks. I like what 
@atm suggested as well. I do not think there is a metrics corresponding to this.

> Capture the number of blocks pending deletion on namenode webUI
> ---------------------------------------------------------------
>
>                 Key: HDFS-5986
>                 URL: https://issues.apache.org/jira/browse/HDFS-5986
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Suresh Srinivas
>
> When a directory that has large number of directories and files are deleted, 
> the namespace deletes the corresponding inodes immediately. However it is 
> hard to to know when the invalidated blocks are actually deleted on the 
> datanodes, which could take a while.
> I propose adding on namenode webUI, along with under replicated blocks, the 
> number of blocks that are pending deletion.



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

Reply via email to