sodonnel opened a new pull request #3041: URL: https://github.com/apache/ozone/pull/3041
## What changes were proposed in this pull request? [HDDS-6177](https://issues.apache.org/jira/browse/HDDS-6177) added replica details to the container info command on the master branch. On the EC branch, we need to extend it to add the new replica index field. The new output includes the replica index in both Json and the human readable format, eg: ``` bash-4.2$ ozone admin container info 2 Container id: 2 Pipeline id: 8a62f588-0fff-497d-9589-aa14ef43c86b Container State: QUASI_CLOSED Datanodes: [aef6aa64-1251-4707-aaaa-141c9d03b6b1/ozone_datanode_2.ozone_default, 9b650b01-a361-471a-98a8-2aa4daff5fee/ozone_datanode_5.ozone_default, d4d57905-08c8-4f4f-8a5f-cf04b066b82c/ozone_datanode_3.ozone_default] Replicas: [State: QUASI_CLOSED; ReplicaIndex: 5; Origin: aef6aa64-1251-4707-aaaa-141c9d03b6b1; Location: aef6aa64-1251-4707-aaaa-141c9d03b6b1/ozone_datanode_2.ozone_default, State: QUASI_CLOSED; ReplicaIndex: 4; Origin: 9b650b01-a361-471a-98a8-2aa4daff5fee; Location: 9b650b01-a361-471a-98a8-2aa4daff5fee/ozone_datanode_5.ozone_default, State: QUASI_CLOSED; ReplicaIndex: 1; Origin: d4d57905-08c8-4f4f-8a5f-cf04b066b82c; Location: d4d57905-08c8-4f4f-8a5f-cf04b066b82c/ozone_datanode_3.ozone_default] ``` Note the "ReplicaIndex" field in the Replicas output. This is the newly added field. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6250 ## How was this patch tested? New unit tests and manual testing in docker compose -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
