[
https://issues.apache.org/jira/browse/HDDS-9589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781434#comment-17781434
]
Devesh Kumar Singh commented on HDDS-9589:
------------------------------------------
[~asarin] As per current implementation, default upper limit of 20 can be
overridden using {color:#FF0000}*-c*{color} flag in command as mentioned in
screenshot above, but this flag doesn't accept negative number, so if you still
want unlimited count value, this can be possible using Long.MAX_VALUE
equivalent of java. However this is not recommended as if there are millions of
containers, this output may hang depending on your system memory to display.
Write your test with limited number to test the functionality of this command.
> [Recon] Containers info displayed on Overview page are not tallying with
> ozone admin cli output
> -----------------------------------------------------------------------------------------------
>
> Key: HDDS-9589
> URL: https://issues.apache.org/jira/browse/HDDS-9589
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Recon
> Reporter: Arun Sarin
> Assignee: Devesh Kumar Singh
> Priority: Major
> Attachments: image-2023-10-31-17-34-49-876.png,
> image-2023-10-31-17-36-36-474.png, image-2023-10-31-17-37-24-419.png,
> image-2023-10-31-17-38-08-256.png, image-2023-10-31-17-38-42-567.png
>
>
> [Recon] Open Container & Total Containers displayed on Overview page are not
> tallying with ozone admin cli output
> The Total Number of containers are displayed as 32 . While on checking the
> total number of container through ozone admin cli command it gives the output
> as 20
> {code:java}
> [root@host-9 hadoop-ozone]# ozone admin container list | grep -c
> 'containerID'
> 20
> [root@host-9 hadoop-ozone]# ozone admin container list --state=OPEN | grep -c
> 'containerID'
> 20
> {code}
> Values from the /api/v1/clusterState
> {code:java}
> {"deletedDirs":0,"pipelines":15,"totalDatanodes":9,"healthyDatanodes":9,"storageReport":{"capacity":2433806340096,"used":3175155552,"remaining":2127592607744},"containers":38,"missingContainers":0,"openContainers":32,"deletedContainers":0,"volumes":2,"buckets":1,"keys":1,"keysPendingDeletion":0}
> {code}
> Adding screen-prints for further debugging
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]