ChenSammi commented on code in PR #8869: URL: https://github.com/apache/ozone/pull/8869#discussion_r2250334058
########## hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/OzoneContainer.java: ########## @@ -703,10 +716,17 @@ public void compactDb() { } public DiskBalancerReportProto getDiskBalancerReport() { + // return an empty report if the service is disabled + if (diskBalancerService == null) { Review Comment: Shall we return null here? -- 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