[
https://issues.apache.org/jira/browse/HDDS-12335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927520#comment-17927520
]
Gargi Jaiswal edited comment on HDDS-12335 at 2/16/25 5:09 PM:
---------------------------------------------------------------
[~adoroszlai] , Using the above namespace summary CLI command it should not
only print
Entity Type: "BUCKET"
but should also print information like
# "numVolume"
# "numBucket"
# "numDir"
# "numKey"
which is present in the *SummarySubCommand* class which the current code is not
reading correct from correct json node.
So expected output should be like this
{code:java}
bash-5.1$ ozone admin namespace summary /vol2/buck1
Connecting to Recon:
http://recon:9888/api/v1/namespace/summary?path=/vol2/buck1 ...
Entity Type : "BUCKET"
Directories : 3
Keys : 4 {code}
was (Author: JIRAUSER308350):
[~adoroszlai] , Using the above namespace summary CLI command it should not
only print
Entity Type: "BUCKET"
but should also print information like
# "numVolume"
# "numBucket"
# "numDir"
# "numKey"
which is present in the *SummarySubCommand* class which the current code is not
reading correct from correct json node.
> ozone admin namespace summary gives incomplete output
> -----------------------------------------------------
>
> Key: HDDS-12335
> URL: https://issues.apache.org/jira/browse/HDDS-12335
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI, Ozone Recon
> Reporter: Devesh Kumar Singh
> Assignee: Gargi Jaiswal
> Priority: Major
> Labels: new-bie
>
> Ozone Recon - admin namespace summary CLI command is not giving complete
> output:
>
> {noformat}
> ozone admin namespace summary /volume1/obs-bucket{noformat}
>
>
> {code:java}
> Connecting to Recon:
> http://recon:9888/api/v1/namespace/summary?path=/volume1/obs-bucket ...
> [Warning] Namespace CLI is not designed for OBS bucket layout.
> Bucket being accessed must be of type FILE_SYSTEM_OPTIMIZED bucket layout or
> LEGACY bucket layout with 'ozone.om.enable.filesystem.paths' set to true.
> Entity Type : "BUCKET"
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]