XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.3.0
    • 1.3.0
    • Ozone Client
    • 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 

      Attachments

        Activity

          People

            tanvipenumudy Tanvi Penumudy
            ssulav Soumitra Sulav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: