You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Soumitra Sulav (Jira)" <ji...@apache.org> on 2022/05/26 15:44:00 UTC
[jira] [Created] (HDDS-6813) Bucket Layout type as DEFAULT as an option
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org