[
https://issues.apache.org/jira/browse/HDFS-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000430#comment-16000430
]
Yuanbo Liu commented on HDFS-11680:
-----------------------------------
{quote}
ContainerManagerImpl
{quote}
use readContainer instead of creating infoContainer, they're quite similar.
{quote}
ContainerOperationClient
{quote}
addressed.
{quote}
ContainerReport
{quote}
Use ContainerData to get meta info of the container.
{quote}
ScmClient
{quote}
Implement readContainer in client side.
{quote}
StorageContainerDatanodeProtocol.proto
{quote}
Addressed
{quote}
Can we use runCommandAndGetOutput to run the command and get the output for
comparison?
{quote}
Sorry, didn't see it, I will address it in v3 patch.
{quote}
Can we add a test case when user gives a non-exist container?
{quote}
addressed
{quote}
And besides of this, could you please attach the test result that from
commandline to demonstrate how this works?
{quote}
Sure.
> Ozone: SCM CLI: Implement info container command
> ------------------------------------------------
>
> Key: HDFS-11680
> URL: https://issues.apache.org/jira/browse/HDFS-11680
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Weiwei Yang
> Assignee: Yuanbo Liu
> Labels: command-line
> Attachments: HDFS-11680-HDFS-7240.001.patch,
> HDFS-11680-HDFS-7240.002.patch
>
>
> Implement info container
> {code}
> hdfs scm -container info <container name>
> {code}
> Returns information about a specific container.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]