[
https://issues.apache.org/jira/browse/HDFS-13658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537119#comment-16537119
]
Kitti Nanasi commented on HDFS-13658:
-------------------------------------
Thanks for the comments [~andrew.wang]! If I use the size of the highest
priority queue then I not only count the one replica blocks, but the missing
replica blocks as well. But as you say, maybe that's even better, because this
way we can see the NN recovery activities better. [~xiaochen], what do you
think about this?
* Good catch on the deprecated methods, I will fix that with the next patch.
* About the fsck, there is a new flag for this one replica metric, so the
admin can only see the metric, if it is used with the flag
-listonereplicablocks, like fsck . -listonereplicablocks. But I can remove that
functionality if it does not add value.
> fsck, dfsadmin -report, and NN WebUI should report number of blocks that have
> 1 replica
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-13658
> URL: https://issues.apache.org/jira/browse/HDFS-13658
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 3.1.0
> Reporter: Kitti Nanasi
> Assignee: Kitti Nanasi
> Priority: Major
> Attachments: HDFS-13658.001.patch, HDFS-13658.002.patch,
> HDFS-13658.003.patch, HDFS-13658.004.patch, HDFS-13658.005.patch,
> HDFS-13658.006.patch, HDFS-13658.007.patch
>
>
> fsck, dfsadmin -report, and NN WebUI should report number of blocks that have
> 1 replica. We have had many cases opened in which a customer has lost a disk
> or a DN losing files/blocks due to the fact that they had blocks with only 1
> replica. We need to make the customer better aware of this situation and that
> they should take action.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]