[ 
https://issues.apache.org/jira/browse/HDDS-6813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh Radhakrishnan resolved HDDS-6813.
----------------------------------------
    Fix Version/s: 1.3.0
       Resolution: Duplicate

Thanks [~ssulav] for testing bucket layout feature and reported this case. This 
has been taken care via HDDS-6819.

> Bucket Layout type as DEFAULT as an option
> ------------------------------------------
>
>                 Key: HDDS-6813
>                 URL: https://issues.apache.org/jira/browse/HDDS-6813
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client
>    Affects Versions: 1.3.0
>            Reporter: Soumitra Sulav
>            Assignee: Tanvi Penumudy
>            Priority: Major
>             Fix For: 1.3.0
>
>
> Error message on invalid bucket layout says an option of DEFAULT Layout.
> {code:java}
> expected one of [FILE_SYSTEM_OPTIMIZED, OBJECT_STORE, DEFAULT,{code}
> It should rather be LEGACY
> and also isn't consistent with the bucket shell message :
> {code:java}
>   -l, --layout=<allowedBucketLayout>
>                            Allowed Bucket Layouts: FILE_SYSTEM_OPTIMIZED,
>                              OBJECT_STORE,{code}
> Error stack trace :
> {code:java}
> [root@quasar-wzsrji-1 ~]# ozone sh bucket create test/trail --layout=LEGACY1
> Invalid value for option '--layout': expected one of [FILE_SYSTEM_OPTIMIZED, 
> OBJECT_STORE, DEFAULT, ] (case-sensitive) but was 'LEGACY1'
> Usage: ozone sh bucket create [-ghV] [-k=<bekName>] [-l=<allowedBucketLayout>]
>                               [--namespace-quota=<quotaInNamespace>]
>                               [--quota=<quotaInBytes>] [-r=<replication>]
>                               [-t=<type>] [-u=<ownerName>] <value>
> creates a bucket in a given volume {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to