You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Devesh Kumar Singh (Jira)" <ji...@apache.org> on 2023/11/07 15:43:00 UTC
[jira] [Created] (HDDS-9644) Ozone admin namespace CLI du command - printing incorrect validation error message
Devesh Kumar Singh created HDDS-9644:
----------------------------------------
Summary: 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
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org