[
https://issues.apache.org/jira/browse/HDDS-8188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Teng updated HDDS-8188:
----------------------------
Description:
ozone admin container list has a --count parameter that defaults to 20. This
has caused confusion among users, and it does not provide a way to list all
containers. We should support --all to list all containers(within max allowed
count of 'hdds.container.list.max.count. If the total count exceeds max allowed
count, CLI prints a message to stdout indicating the result is truncated.)
(To view the full list of container, need to implement pagination
https://issues.apache.org/jira/browse/HDDS-10687 for list-container operation.)
was:{{ozone admin container list}} has a {{--count}} parameter that defaults
to 20. This has caused confusion among users, and it does not provide a way to
list all containers. We should support --count=-1 to list all containers and
make it the default.
> Support max allowed length in response of ozone admin container list
> --------------------------------------------------------------------
>
> Key: HDDS-8188
> URL: https://issues.apache.org/jira/browse/HDDS-8188
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ethan Rose
> Assignee: Dave Teng
> Priority: Major
> Labels: pull-request-available
>
> ozone admin container list has a --count parameter that defaults to 20. This
> has caused confusion among users, and it does not provide a way to list all
> containers. We should support --all to list all containers(within max allowed
> count of 'hdds.container.list.max.count. If the total count exceeds max
> allowed count, CLI prints a message to stdout indicating the result is
> truncated.)
> (To view the full list of container, need to implement pagination
> https://issues.apache.org/jira/browse/HDDS-10687 for list-container
> operation.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]