krishnaasawa1 commented on code in PR #4591:
URL: https://github.com/apache/ozone/pull/4591#discussion_r1183491863
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/ClusterStateEndpoint.java:
##########
@@ -180,6 +196,12 @@ public Response getClusterState() {
.setTotalDatanodes(datanodeDetails.size())
.setHealthyDatanodes(healthyDatanodes)
.setOpenContainers(containerStateCounts.getOpenContainersCount())
+ .setClosingContainers(containerStateCounts.getClosingContainersCount())
+ .setQuasiClosedContainers(
+ containerStateCounts.getQuasiClosedContainersCount())
+ .setClosedContainers(containerStateCounts.getClosedContainersCount())
Review Comment:
Yes in normal scenarios transition will be quick, but have seen large number
of containers stuck and remaining in Closing state in some scenarios. So
should be useful for analyzing, if easily visible. But we should be careful of
cluttering overview page and should have at appropriate place.
--
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]