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/05 09:44:00 UTC

[jira] [Created] (HDDS-6702) [Layout] S3 Buckets are created with FSO type

Soumitra Sulav created HDDS-6702:
------------------------------------

             Summary: [Layout] S3 Buckets are created with FSO type
                 Key: HDDS-6702
                 URL: https://issues.apache.org/jira/browse/HDDS-6702
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone Manager
    Affects Versions: 1.3.0
            Reporter: Soumitra Sulav


With recent Allowed Bucket Layouts: FILE_SYSTEM_OPTIMIZED, OBJECT_STORE.

On creating a new bucket the default type is selected as LEGACY.

But while creating a new bucket via s3api it should be OBJECT_STORE.
{code:java}
[systest@vc0101 ~]$ aws s3 mb s3://test --endpoint https://vc0114.halxg.cloudera.com:9879/ --no-verify-ssl
/usr/lib/fence-agents/bundled/botocore/vendored/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
make_bucket: test
[systest@vc0101 ~]$ ozone sh bucket list s3v
[ {
  "metadata" : { },
  "volumeName" : "s3v",
  "name" : "test",
  "storageType" : "DISK",
  "versioning" : false,
  "usedBytes" : 0,
  "usedNamespace" : 0,
  "creationTime" : "2022-05-05T09:27:03.778Z",
  "modificationTime" : "2022-05-05T09:27:03.778Z",
  "quotaInBytes" : -1,
  "quotaInNamespace" : -1,
  "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
  "owner" : "s3g",
  "link" : false
} ] {code}
The Bucket Layout for the S3 Bucket is {{{}FILE_SYSTEM_OPTIMIZED{}}}.



--
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