hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-400) Check global replication state of the reported containers on SCM
Date Tue, 04 Sep 2018 19:16:00 GMT

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

Ajay Kumar commented on HDDS-400:
---------------------------------

[~elek] thanks for submitting the patch. Seems in this patch we are checking replication status
of all reported container ids instead of only missing and new containers as was done previously.
I think i am missing something here, could you please share why we should not keep the ContainerHandler
code same and emit any required replication events when DataNode is detected dead?

> Check global replication state of the reported containers on SCM
> ----------------------------------------------------------------
>
>                 Key: HDDS-400
>                 URL: https://issues.apache.org/jira/browse/HDDS-400
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Blocker
>             Fix For: 0.2.1
>
>         Attachments: HDDS-400.001.patch, HDDS-400.002.patch
>
>
> Current container replication handler compare the reported containers with the previous
report. It handles over an under replicated state.
> But there is no logic to check the cluster-wide replication count. If a node is went
down it won't be detected.
> For the sake of simplicity I would add this check to the ContainerReportHandler (as of
now). So all the reported container should have enough replicas. 
> We can check the performance implication with genesis, but as a first implementation
I think it could be good enough. 



--
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