hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuanbo Liu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-11680) Ozone: SCM CLI: Implement info container command
Date Mon, 08 May 2017 08:28:04 GMT

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

Yuanbo Liu edited comment on HDFS-11680 at 5/8/17 8:27 AM:
-----------------------------------------------------------

[~cheersyang] Thanks for your comments.
{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.


was (Author: yuanbo):
{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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message