You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2021/08/28 05:14:00 UTC
[jira] [Resolved] (HDDS-5368) Add CLI command: ozone admin
namespace summary
[ https://issues.apache.org/jira/browse/HDDS-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siyao Meng resolved HDDS-5368.
------------------------------
Fix Version/s: 1.2.0
Resolution: Fixed
> Add CLI command: ozone admin namespace summary
> ----------------------------------------------
>
> Key: HDDS-5368
> URL: https://issues.apache.org/jira/browse/HDDS-5368
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Siyao Meng
> Assignee: Yuan Gu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.2.0
>
>
> Add the ozone admin shell command {{ozone admin namespace summary}}
> From the design doc:
> {code}
> $ ozone admin namespace summary --all /vol1/bucket1/MyDir
> Entity Type : Directory
> Directories : 1
> Keys : 10
> DU
> Size DiskUsage Path
> 21G 63G /volume1/bucket1
> 5G 15G /volume1/bucket2
> File Size Distribution
> 1KB - 2KB - 50% (5)
> 2KB - 4KB - 50% (5)
> {code}
> This new command is expected to connect to Recon to get the info, so some new APIs in Recon would be necessary (RPC or REST, most likely REST).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org