You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Neil Joshi (Jira)" <ji...@apache.org> on 2022/09/14 00:09:00 UTC

[jira] [Created] (HDDS-7219) Ozone bucket list for links displays default layout for all linked buckets

Neil Joshi created HDDS-7219:
--------------------------------

             Summary: Ozone bucket list for links displays default layout for all linked buckets
                 Key: HDDS-7219
                 URL: https://issues.apache.org/jira/browse/HDDS-7219
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Neil Joshi


When listing buckets under a volume, all bucket links display the default bucket layout "LEGACY".

 

For example, when the source bucket for a link is an FSO bucket named bucket3 under vol1, the listing for the linked bucket3 under vol s3v is:
{code:java}
bash-4.2$ ozone sh bucket list /s3v        
[ {
  "metadata" : { },
  "volumeName" : "s3v",
  "name" : "bucket3",
  "storageType" : "DISK",
  "versioning" : false,
  "usedBytes" : 0,
  "usedNamespace" : 0,
  "creationTime" : "2022-09-13T23:49:29.107Z",
  "modificationTime" : "2022-09-13T23:49:29.107Z",
  "sourceVolume" : "vol1",
  "sourceBucket" : "bucket3",
  "quotaInBytes" : -1,
  "quotaInNamespace" : -1,
  "bucketLayout" : "LEGACY",
  "owner" : "testuser",
  "link" : true
} ]{code}
source bucket:
{code:java}
bash-4.2$ ozone sh bucket info /vol1/bucket3
{
  "metadata" : { },
  "volumeName" : "vol1",
  "name" : "bucket3",
  "storageType" : "DISK",
  "versioning" : false,
  "usedBytes" : 0,
  "usedNamespace" : 0,
  "creationTime" : "2022-09-13T23:49:17.782Z",
  "modificationTime" : "2022-09-13T23:49:17.782Z",
  "quotaInBytes" : -1,
  "quotaInNamespace" : -1,
  "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
  "owner" : "testuser",
  "link" : false
}{code}
 

See discussion from HDDS-6758.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org