ChenSammi commented on code in PR #10022:
URL: https://github.com/apache/ozone/pull/10022#discussion_r3115559521


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/diskbalancer/DiskBalancerYaml.java:
##########
@@ -75,12 +76,16 @@ public static DiskBalancerInfo 
readDiskBalancerInfoFile(File path)
         throw new IOException("Unable to parse yaml file.", e);
       }
 
+      String containerStates = 
StringUtils.isNotBlank(diskBalancerInfoYaml.getContainerStates())
+          ? diskBalancerInfoYaml.getContainerStates().trim()

Review Comment:
   Could diskBalancerInfoYaml.getContainerStates() be null? 



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