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

Elek, Marton commented on HDDS-369:
-----------------------------------

[~GeLiXin] You are right. For the unit tests we need to ensure that the 
node2ContainerMap is initialized with that datanode. I totally agree, for this 
use case it's more safe to do a null check. Are you interested to create a 
patch? Just ping me and I can review/commit it...

> Remove the containers of a dead node from the container state map
> -----------------------------------------------------------------
>
>                 Key: HDDS-369
>                 URL: https://issues.apache.org/jira/browse/HDDS-369
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: SCM
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-369.001.patch, HDDS-369.002.patch, 
> HDDS-369.003.patch, HDDS-369.004.patch, HDDS-369.005.patch, HDDS-369.006.patch
>
>
> In case of a node is dead we need to update the container replicas 
> information of the containerStateMap for all the containers from that 
> specific node.
> With removing the replica information we can detect the under replicated 
> state and start the replication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to