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/06/24 08:00:00 UTC
[jira] [Created] (HDDS-6943) Linked bucket layout types changes on setQuota
Soumitra Sulav created HDDS-6943:
------------------------------------
Summary: Linked bucket layout types changes on setQuota
Key: HDDS-6943
URL: https://issues.apache.org/jira/browse/HDDS-6943
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Manager
Affects Versions: 1.3.0
Reporter: Soumitra Sulav
Fix For: 1.3.0
Linked bucket changes to an independent bucket on changing setQuota on the linked bucket.
{code:java}
[root@quasar-rjcvzc-1 ~]# ozone sh bucket link test/buck-obs test2/buck-obs-link
22/06/24 07:53:21 INFO rpc.RpcClient: Creating Bucket: test2/buck-obs-link, with the Bucket Layout null, om as owner, Versioning false, Storage Type set to DISK and Encryption set to false
BUCKET_ALREADY_EXISTS Bucket already exist
[root@quasar-rjcvzc-1 ~]# ozone sh bucket info test2/buck-obs-link
{
"volumeName" : "test2",
"bucketName" : "buck-obs-link",
"sourceVolume" : "test",
"sourceBucket" : "buck-obs",
"creationTime" : "2022-06-24T07:50:07.835Z",
"modificationTime" : "2022-06-24T07:50:07.835Z",
"owner" : "om"
}
[root@quasar-rjcvzc-1 ~]# ozone sh bucket info test/buck-obs
{
"metadata" : { },
"volumeName" : "test",
"name" : "buck-obs",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2022-06-24T07:33:13.659Z",
"modificationTime" : "2022-06-24T07:33:13.659Z",
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "OBJECT_STORE",
"owner" : "om",
"link" : false
}
[root@quasar-rjcvzc-1 ~]# ozone sh bucket setquota test2/buck-obs-link --quota 1GB
[root@quasar-rjcvzc-1 ~]# ozone sh bucket info test/buck-obs
{
"metadata" : { },
"volumeName" : "test",
"name" : "buck-obs",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2022-06-24T07:33:13.659Z",
"modificationTime" : "2022-06-24T07:33:13.659Z",
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "OBJECT_STORE",
"owner" : "om",
"link" : false
}
[root@quasar-rjcvzc-1 ~]# ozone sh bucket info test2/buck-obs-link
{
"metadata" : { },
"volumeName" : "test2",
"name" : "buck-obs-link",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2022-06-24T07:50:07.835Z",
"modificationTime" : "2022-06-24T07:54:03.820Z",
"quotaInBytes" : 1073741824,
"quotaInNamespace" : -1,
"bucketLayout" : "LEGACY",
"replicationConfig" : {
"replicationFactor" : "ONE",
"requiredNodes" : 1,
"replicationType" : "RATIS"
},
"link" : false
} {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