[ https://issues.apache.org/jira/browse/HDFS-6945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111920#comment-14111920 ]
Akira AJISAKA commented on HDFS-6945: ------------------------------------- I propose to add the function to remove the block from {{excessReplicateMap}} and decrement the counter in {{BlockManager#removeBlock(Block)}} and {{BlockManager#removeBlockFromMap(Block)}} methods. Now {{excessReplicateMap}} can become large, which means memory leak. > 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)