[ https://issues.apache.org/jira/browse/HDFS-7165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179022#comment-14179022 ]
Andrew Wang commented on HDFS-7165: ----------------------------------- This looks good. One thing I forgot, did you check the MX metrics manually? Would also be good to have a unit test for metrics either way. > Separate block metrics for files with replication count 1 > --------------------------------------------------------- > > Key: HDFS-7165 > URL: https://issues.apache.org/jira/browse/HDFS-7165 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Andrew Wang > Assignee: Zhe Zhang > Attachments: HDFS-7165-20141003-v1.patch, > HDFS-7165-20141009-v1.patch, HDFS-7165-20141010-v1.patch, > HDFS-7165-20141015-v1.patch, HDFS-7165-20141021-v1.patch > > > We see a lot of escalations because someone has written teragen output with a > replication factor of 1, a DN goes down, and a bunch of missing blocks show > up. These are normally false positives, since teragen output is disposable, > and generally speaking, users should understand this is true for all repl=1 > files. > It'd be nice to be able to separate out these repl=1 missing blocks from > missing blocks with higher replication factors.. -- This message was sent by Atlassian JIRA (v6.3.4#6332)