[
https://issues.apache.org/jira/browse/HDFS-12799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259729#comment-16259729
]
Chen Liang commented on HDFS-12799:
-----------------------------------
Thanks for working on this [~elek]. Returning current state does seem to be a
bug and was causing test failing. So I fixed it in HDFS-12793. As for creating
container, have you tried to call
{{cluster.getStorageContainerManager().allocateContainer}}, followed with two
{{mapping.updateContainerState}}, just like what
{{TestContainerMapping#createContainer}} is doing?
> 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
>
>
> 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]