hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13658) fsck, dfsadmin -report, and NN WebUI should report number of blocks that have 1 replica
Date Fri, 22 Jun 2018 03:20:00 GMT

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

Xiao Chen commented on HDFS-13658:
----------------------------------

Thanks for revving Kitti. As discussed offline and as you hinted, let's not change priority
queues for this.

bq.  Do you think I should keep or remove the integration test?
Given that unit test already covers the scenarios, we can remove the {{TestOneReplicaBlocksAlert}}
test for reduced test execution time. :)
bq. number of the current replicas for decrement
I think we need to modify the call path for from {{BlockManager}}, to get the current replicas
during removal (and handle similarly for decrements coming from {{update}}, which already
has {{curReplicas}}). {{BlockManager#countNodes}} can do that, and it looks to be O(1).


> 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
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message