bucket update
Contents
Usage
$ ozone sh bucket update [-hV] [-u=<ownerName>] <value>
Parameter | Description |
---|---|
value |
A bucket URI. It can be a full URI (starts with |
ownerName |
Name of the new bucket owner |
-h, --help |
Prints out a help manual for this command |
-V, --version |
Prints out version information and exits |
Examples
Setting a new bucket owner:
$ ozone sh bucket update -u=sergei vol1/bucket1
As a confirmation, the command outputs the new bucket information:
{
"metadata" : { },
"volumeName" : "vol1",
"name" : "bucket1",
"storageType" : "DISK",
"versioning" : false,
"usedBytes" : 0,
"usedNamespace" : 0,
"creationTime" : "2025-01-22T22:06:04.800Z",
"modificationTime" : "2025-02-12T23:58:47.979Z",
"sourcePathExist" : true,
"quotaInBytes" : -1,
"quotaInNamespace" : -1,
"bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
"owner" : "sergei",
"replicationConfig" : {
"replicationFactor" : "ONE",
"requiredNodes" : 1,
"replicationType" : "RATIS"
},
"link" : false
}