devmadhuu commented on code in PR #4591:
URL: https://github.com/apache/ozone/pull/4591#discussion_r1172843837
##########
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:
@ArafatKhan2198 , these state transitions are too dynamic and quick, let's
discuss this, not sure if in so dynamic transitions, if it is really useful for
admins. Moreover these are directly queried using admin CLI, so better we
should avoid such data and load recon
--
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]