HDDS-884. Fix merge issue that causes NPE OzoneManager#httpServer. Contributed by Xiaoyu Yao.
This commit is contained in:
parent
6d522dc05d
commit
417951ab58
@ -787,6 +787,7 @@ public void start() throws IOException {
|
||||
keyManager.start(configuration);
|
||||
omRpcServer.start();
|
||||
try {
|
||||
httpServer = new OzoneManagerHttpServer(configuration, this);
|
||||
httpServer.start();
|
||||
} catch (Exception ex) {
|
||||
// Allow OM to start as Http Server failure is not fatal.
|
||||
|
Loading…
Reference in New Issue
Block a user