vtutrinov opened a new pull request, #7500:
URL: https://github.com/apache/ozone/pull/7500
## What changes were proposed in this pull request?
Show containers replication metrics in the output of the datanode
decommission status command
```bash
bash-5.1$ ozone admin datanode status decommission
Decommission Status: DECOMMISSIONING - 1 node(s)
Datanode: a05eedd4-fc28-4046-a8a4-92ce6f269ea9
(/default-rack/172.18.0.8/ozone-ha-datanode2-1.ozone-ha_default)
Decommission Started At : 28/11/2024 09:10:40 UTC
No. of Unclosed Pipelines: 0
No. of UnderReplicated Containers: 5.0
No. of Unclosed Containers: 0.0
{UnderReplicated=[#5, #1, #2, #3, #4], UnClosed=[]}
ContainersReplicationMetrics:
numTimeoutReplications: 0
numRequestedReplications: 8
numQueuedReplications: 0
failureTime: 0
numInFlightReplications: 5
queueTime: 0
failureBytes: 0
maxReplicationStreams: 20
successTime: 51349
numSkippedReplications: 0
numFailedReplications: 0
transferredBytes: 807620608
numSuccessReplications: 3
closedContainersCount: 8
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11560
## How was this patch tested?
A new unit test for the CLI command was created, and manual testing of the
CLI command was performed too
--
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]