sumitagrawl commented on code in PR #9127:
URL: https://github.com/apache/ozone/pull/9127#discussion_r2432434319
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/NSSummaryEndpoint.java:
##########
@@ -123,6 +124,12 @@ public Response getDiskUsage(@QueryParam("path") String
path,
return Response.ok(duResponse).build();
}
+ NSSummaryTask.RebuildState rebuildState =
ReconUtils.getNSSummaryRebuildState();
Review Comment:
This check is not required, as now rebuild can happen parallel for any
issue, but existing db can provide response
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconGuiceServletContextListener.java:
##########
@@ -33,6 +33,10 @@ public Injector getInjector() {
return injector;
}
+ public static Injector getStaticInjector() {
Review Comment:
make use of getGlobalInjector() as below.
--
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]