[
https://issues.apache.org/jira/browse/HDDS-12229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-12229:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Assignee: Gargi Jaiswal
> Priority: Major
> Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]