bharatviswa504 commented on a change in pull request #529: HDDS-2982. Recon
server start failed with CNF exception in a cluster …
URL: https://github.com/apache/hadoop-ozone/pull/529#discussion_r375598522
##########
File path:
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServer.java
##########
@@ -82,7 +82,13 @@ protected void configureServlets() {
LOG.info("Creating Recon Schema.");
reconSchemaManager.createReconSchema();
- httpServer = injector.getInstance(ReconHttpServer.class);
+ // TODO Remove try-catch block after HDDS-2041 is fixed.
+ // Allowing Recon server start even if HTTP server start failed
+ try {
Review comment:
One question if HttpServer start failed will any functionality of recon
works, like getContainers etc.,
But whereas in OM SCM, core functionality still works even if HttpServer
does not start. Not sure if I am missing something 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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]