You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/08/27 08:07:58 UTC

[jira] [Commented] (HDFS-6945) ExcessBlocks metric may not be decremented if there are no over replicated blocks

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

Akira AJISAKA commented on HDFS-6945:
-------------------------------------

The number of excess blocks is incremented but not decremented in the following sequence.
# A block becomes over-relicated
# NN asks a DN to delete an excess block
# The DN deletes the block
# delete the file includes the block before receiving block report from the DN

If the block has been deleted, the counter is not decremented in processing block report.

> ExcessBlocks metric may not be decremented if there are no over replicated blocks
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-6945
>                 URL: https://issues.apache.org/jira/browse/HDFS-6945
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Akira AJISAKA
>              Labels: metrics
>
> I'm seeing ExcessBlocks metric increases to more than 300K in some clusters, however, there are no over-replicated blocks (confirmed by fsck).



--
This message was sent by Atlassian JIRA
(v6.2#6252)