devmadhuu commented on code in PR #9488:
URL: https://github.com/apache/ozone/pull/9488#discussion_r2617990146


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/StorageDistributionEndpoint.java:
##########
@@ -221,6 +221,7 @@ private long calculateCommittedSize() {
   private DatanodeStorageReport getStorageReport(DatanodeDetails datanode) {
     try {
       SCMNodeMetric nodeMetric = nodeManager.getNodeStat(datanode);
+      long reservedSpace = nodeManager.getTotalReserved(datanode);

Review Comment:
   Though very rare, but this `getTotalReserved` can throw 
`NodeNotFoundException`, so in that case, what will be the behavior ?



-- 
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]

Reply via email to