[ https://issues.apache.org/jira/browse/HDFS-8806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640540#comment-14640540 ]
Zhe Zhang commented on HDFS-8806: --------------------------------- Thanks Akira for reviewing and committing the patch! > Inconsistent metrics: number of missing blocks with replication factor 1 not > properly cleared > --------------------------------------------------------------------------------------------- > > Key: HDFS-8806 > URL: https://issues.apache.org/jira/browse/HDFS-8806 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.7.0, 2.7.1 > Reporter: Zhe Zhang > Assignee: Zhe Zhang > Labels: metrics > Fix For: 2.7.2 > > Attachments: HDFS-8806.00.patch, HDFS-8806.01.patch, > HDFS-8806.02.patch > > > HDFS-7165 introduced a new metric for _number of missing blocks with > replication factor 1_. It is maintained as > {{UnderReplicatedBlocks#corruptReplOneBlocks}}. However, that variable is not > reset when other {{UnderReplicatedBlocks}} are cleared. -- This message was sent by Atlassian JIRA (v6.3.4#6332)