You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2023/11/17 19:17:00 UTC
[jira] [Commented] (HDDS-9644) Ozone admin namespace CLI du command - printing incorrect validation error message
[ https://issues.apache.org/jira/browse/HDDS-9644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787361#comment-17787361 ]
Ethan Rose commented on HDDS-9644:
----------------------------------
[~deveshsingh] this looks like a duplicate of HDDS-9355. Let's pick one to use for tracking and close the other as a duplicate.
> 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: Devesh Kumar Singh
> Priority: Major
>
> 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