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

Mukul Kumar Singh commented on HDDS-298:
----------------------------------------

Thanks for updating the patch and raising the followup jira [~ajayydv]. The 
current patch looks really good to me. I have a minor comment on 
ContainerMapping:217. Rest the patch looks good to me.

1) ContainerMapping:217.:I feel we should not use the earlier pipeline name 
once the container has been closed. so pipeline name can be changed to `String 
name = CLOSE_PIPELINE_PREFIX + contInfo.containerID()`;
2) TestContainerMapping:185: there are commented lines in the code

> 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, HDDS-298.01.patch, HDDS-298.02.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