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

Ajay Kumar commented on HDDS-298:
---------------------------------

Ping [~ljain],[~elek] for review. Below is brief summary of 
getContainerWithPipeline current state now.
 * Return a pipeline if it exists already in PipelineManager#pipelineMap
 * else
 ** if it is Open containers allocate new pipeline. (i am not sure if this is 
correct)
 ** If closed reconstruct a pipeline using node replicas.

> Implement SCMClientProtocolServer.getContainerWithPipeline for closed 
> containers
> --------------------------------------------------------------------------------
>
>                 Key: HDDS-298
>                 URL: https://issues.apache.org/jira/browse/HDDS-298
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: SCM
>            Reporter: Elek, Marton
>            Assignee: Ajay Kumar
>            Priority: Critical
>             Fix For: 0.2.1
>
>         Attachments: HDDS-298.00.patch
>
>
> As [~ljain] mentioned during the review of HDDS-245 
> SCMClientProtocolServer.getContainerWithPipeline doesn't return with good 
> data for closed containers. For closed containers we are maintaining the 
> datanodes for a containerId in the ContainerStateMap.contReplicaMap. We need 
> to create fake Pipeline object on-request and return it for the client to 
> locate the right datanodes to download data. 



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