You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Jyotirmoy Sinha (Jira)" <ji...@apache.org> on 2023/10/06 07:00:00 UTC
[jira] [Created] (HDDS-9396) [snapshot] Bucket info/list should have a property showing whether it has snapshots or not
Jyotirmoy Sinha created HDDS-9396:
-------------------------------------
Summary: [snapshot] Bucket info/list should have a property showing whether it has snapshots or not
Key: HDDS-9396
URL: https://issues.apache.org/jira/browse/HDDS-9396
Project: Apache Ozone
Issue Type: Bug
Components: Ozone CLI, Snapshot
Reporter: Jyotirmoy Sinha
Bucket info/list should have a property showing whether it has snapshots or not
Bucket info -
{code:java}
[root@quasar-ihzxuo-1 ~]# ozone sh bucket ls vol-4mez4 --has-snapshot
[ {
"metadata" : { },
"volumeName" : "vol-4mez4",
"name" : "buck1",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2023-10-06T06:43:07.174Z",
"modificationTime" : "2023-10-06T06:43:07.174Z",
"sourcePathExist" : true,
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"owner" : "om",
"link" : false
} ]
[root@quasar-ihzxuo-1 ~]# ozone sh bucket info vol-4mez4/buck1
{
"metadata" : { },
"volumeName" : "vol-4mez4",
"name" : "buck1",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2023-10-06T06:43:07.174Z",
"modificationTime" : "2023-10-06T06:43:07.174Z",
"sourcePathExist" : true,
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"owner" : "om",
"link" : false
} {code}
It would be an extension of feature 'bucket ls --has-snapshot'.
--
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