Stephen O'Donnell created HDDS-6380:
---------------------------------------
Summary: EC: Key Info command should not display legacy
replication fields as they duplicate ReplicationConfig
Key: HDDS-6380
URL: https://issues.apache.org/jira/browse/HDDS-6380
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
Listing they key details looks like the following:
{code:java}
$ ozone sh key info /vol1/bucket1/key5
{
"volumeName" : "vol1",
"bucketName" : "bucket1",
"name" : "key5",
"dataSize" : 174,
"creationTime" : "2022-02-27T21:38:48.816Z",
"modificationTime" : "2022-02-27T21:38:49.526Z",
"replicationConfig" : {
"replicationFactor" : "THREE",
"requiredNodes" : 3,
"replication" : "THREE",
"replicationType" : "RATIS"
},
"ozoneKeyLocations" : [ {
"containerID" : 5,
"localID" : 109611004723200006,
"length" : 174,
"offset" : 0,
"keyOffset" : 0
} ],
"metadata" : { },
"replicationType" : "RATIS",
"replicationFactor" : 3
} {code}
ReplicationType and Factor are now contained in ReplicationConfig, so we should
not display them in the JSON output.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]