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

Elek, Marton commented on HDFS-12799:
-------------------------------------

Thanks [~vagarychen] the hints:

1. I rebased the patch on top of the latest HDFS-7240. Now it uses HDFS-12793. 
(And also uses the latest minicluster)

2. I tried to use the mapping.updateContainer/createContainer, but I can't. 
This just manipulates the scm, but I would like to test the communication 
between SCM->datanode. So I also need the container creation on the datanode 
side, which could be triggered (as I know) by the client with key uploading. So 
I kept the original approach in the unit test.


> Ozone: SCM: Close containers: extend SCMCommandResponseProto with 
> SCMCloseContainerCmdResponseProto
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12799
>                 URL: https://issues.apache.org/jira/browse/HDFS-12799
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>         Attachments: HDFS-12799-HDFS-7240.001.patch, 
> HDFS-12799-HDFS-7240.002.patch
>
>
> This issue is about extending the HB response protocol between SCM and DN 
> with a command to ask the datanode to close a container. (This is just about 
> extending the protocol not about fixing the implementation of SCM tto handle 
> the state transitions).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to