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

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

Thanks the commit [~hanishakoneru] and the good question [~GeLiXin].

node2ContainerMap is initialized by the NewNodeHandler so the 
node2ContainerMap.getContainers will never throw an exception (IMHO).

(To be honest. I know it only because I tried it out first: started a new 
docker based cluster and killed a datanode. Dead node handler called without 
exception...)

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to