Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.3.0
-
None
Description
Error message on invalid bucket layout says an option of DEFAULT Layout.
expected one of [FILE_SYSTEM_OPTIMIZED, OBJECT_STORE, DEFAULT,
It should rather be LEGACY
and also isn't consistent with the bucket shell message :
-l, --layout=<allowedBucketLayout> Allowed Bucket Layouts: FILE_SYSTEM_OPTIMIZED, OBJECT_STORE,
Error stack trace :
[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