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

Allen Wittenauer commented on HDFS-8849:
----------------------------------------

bq.A replication factor of 1 indicates the data is "disposable". So when 
checking fsck on a directory the user might want to separately consider this 
metric (e.g., less alarmed about the number of disposable data that's missing).

Meanwhile, back in real life, users set a repl factor of 1 to avoid quotas 
problems. I've seen it over and over and over. It's why a lot of us are 
starting to use min repl of 2.  Special casing 1 is a dangerous capitulation to 
a bad practice that should be outlawed on production systems.

> fsck should report number of missing blocks with replication factor 1
> ---------------------------------------------------------------------
>
>                 Key: HDFS-8849
>                 URL: https://issues.apache.org/jira/browse/HDFS-8849
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 2.7.1
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Minor
>
> HDFS-7165 supports reporting number of blocks with replication factor 1 in 
> {{dfsadmin}} and NN metrics. But it didn't extend {{fsck}} with the same 
> support, which is the aim of this JIRA.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to