[
https://issues.apache.org/jira/browse/HDFS-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907627#comment-13907627
]
Kihwal Lee commented on HDFS-5986:
----------------------------------
The jmx on NN already has {{PendingDeletionBlocks}} and [~wheat9] made NN webUI
render on the client-side using the jmx data, so it should be relatively a
simple change. Is {{PendingDeletionBlocks}} what we want, or is it something
else?
> 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)