Soumitra Sulav created HDDS-6813:
------------------------------------
Summary: 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: Bug
Components: Ozone Client
Affects Versions: 1.3.0
Reporter: Soumitra Sulav
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]