[
https://issues.apache.org/jira/browse/HDFS-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000567#comment-16000567
]
Weiwei Yang commented on HDFS-11680:
------------------------------------
Hi [~yuanbo]
Thanks for updating the patch, regarding the output
{noformat}
Container name: ContainerTestInfo3
Container hash:
Container is opened: true
Container DB path: /container/db/path
Container path: /container/path
Container metadata: {VOLUME:shire, owner:bilbo}
LeaderID: 127.0.0.1
Datanodes: [127.0.0.1]
{noformat}
Can we revise it to
{noformat}
Container Name: ContainerTestInfo3
Container State: OPEN (or CLOSED)
Container Hash: (only display when hash is not empty)
Container DB Path: /container/db/path
Container Path: /container/path
Container Metadata: {VOLUME:shire, owner:bilbo}
LeaderID: 127.0.0.1
Datanodes: [127.0.0.1]
{noformat}
And question, if there is more than 1 metadata, how does it look like? A json
array?
> 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, output.txt
>
>
> 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]