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

Anu Engineer commented on HDFS-11679:
-------------------------------------

[~yuanbo] I added this based on a comment from [~cheersyang], I thought it is 
useful if you have millions of keys. I will let [~cheersyang] respond to see if 
he has any objections in removing the end option. I am +1 with you choosing the 
best user interface.



> Ozone: SCM CLI: Implement list container command
> ------------------------------------------------
>
>                 Key: HDFS-11679
>                 URL: https://issues.apache.org/jira/browse/HDFS-11679
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Weiwei Yang
>            Assignee: Yuanbo Liu
>              Labels: command-line
>
> Implement the command to list containers
> {code}
> hdfs scm -container list -start <container name> [-count <100> | -end 
> <name>]{code}
> Lists all containers known to SCM. The option -start allows the listing to 
> start from a specified container and -count controls the number of entries 
> returned but it is mutually exclusive with the -end option which returns keys 
> from the -start to -end range.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to