You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arafat Khan (Jira)" <ji...@apache.org> on 2025/02/06 09:35:00 UTC

[jira] [Created] (HDDS-12229) Remove Incorrect Warning for OBS Bucket in Namespace CLI Commands

Arafat Khan created HDDS-12229:
----------------------------------

             Summary: Remove Incorrect Warning for OBS Bucket in Namespace CLI Commands
                 Key: HDDS-12229
                 URL: https://issues.apache.org/jira/browse/HDDS-12229
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Arafat Khan


Currently, when running the {{ozone admin namespace summary}} command for an {*}OBS bucket{*}, a warning message incorrectly states that the {*}Namespace CLI is not designed for OBS bucket layout{*}, even though {*}Recon does support OBS buckets{*}.

Steps to Reproduce:
{code:java}
sh-4.2$ ozone sh bucket create --layout OBJECT_STORE /volume1/obs-bucket
sh-4.2$ ozone admin namespace summary /volume1/obs-bucket {code}
Output we need to fix: 

 
{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 warning is misleading because {*}Recon correctly processes OBS buckets in the namespace summary{*}. The same warning message is displayed for:
 * *FileSizeDistSubCommand*
 * *QuotaUsageSubCommand*
 * *SummarySubCommand*

h4. *Proposed Fix:*
 * Remove or modify the warning message so that it does not appear for {*}OBS buckets{*}.
 * Ensure that the Namespace CLI properly detects and supports {*}OBS bucket layouts{*}.
 * Validate that all affected commands ({{{}FileSizeDistSubCommand{}}}, {{{}QuotaUsageSubCommand{}}}, {{{}SummarySubCommand{}}}) do not display this incorrect warning.

h4.  

 



--
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