Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Listing they key details looks like the following:
$ 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 }
ReplicationType and Factor are now contained in ReplicationConfig, so we should not display them in the JSON output. Also note that the replicationFactor is duplicated inside replicationConfig.replication since we added HDDS-6308, so we should probably also JsonIgnore those new fields to prevent the duplication in the command output.
Attachments
Issue Links
- links to