Gargi-jais11 commented on code in PR #8009:
URL: https://github.com/apache/ozone/pull/8009#discussion_r1988361672


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/DiskBalancerManager.java:
##########
@@ -260,11 +260,20 @@ private HddsProtos.DatanodeDiskBalancerInfoProto 
getInfoProto(
         getVolumeDataDensitySumForDatanodeDetails(dn);
     HddsProtos.DiskBalancerRunningStatus runningStatus =
         getRunningStatus(dn);
+
+    DiskBalancerStatus status = statusMap.get(dn);
+    if (status == null) {
+      status = new DiskBalancerStatus(false, new DiskBalancerConfiguration(), 
0, 0);

Review Comment:
   Ok



-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to