[
https://issues.apache.org/jira/browse/HDDS-9644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-9644:
---------------------------------
Labels: newbie pull-request-available (was: newbie)
> Ozone admin namespace CLI du command - printing incorrect validation error
> message
> ----------------------------------------------------------------------------------
>
> Key: HDDS-9644
> URL: https://issues.apache.org/jira/browse/HDDS-9644
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI, Ozone Recon
> Reporter: Devesh Kumar Singh
> Assignee: Saketa Chalamchala
> Priority: Major
> Labels: newbie, pull-request-available
>
> bash-4.2$ ozone admin namespace du /
> Connecting to Recon: http://recon:9888/api/v1/namespace/du?path=/ ...
>
> {code:java}
> Bucket layout couldn't be verified for path: . Exception: INVALID_VOLUME_NAME
> org.apache.hadoop.ozone.om.exceptions.OMException: Bucket or Volume length is
> illegal, valid length is 3-63 characters
> Bucket layout couldn't be verified for path: . Exception: INVALID_VOLUME_NAME
> org.apache.hadoop.ozone.om.exceptions.OMException: Bucket or Volume length is
> illegal, valid length is 3-63 characters
> [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.
> Path : /
> Total Size : 259 KB
> DU
> Size Path Name
> 0 bytes /s3v/
> 259 KB /volume1/
> {code}
>
> When giving root path ("/"), "/volume" path in du sub-command, CLI should not
> give INVALID_VOLUME_NAME or INVALID_BUCKET_NAME while validating bucket
> layout because user can provide root path also.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]