Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.8.4
-
None
-
None
-
None
Description
In a scenario where AM fails with an exception and calls the exit method, it fails to shutdown cleanly and can cause the JHS to not shutdown cleanly either.
appMasterUgi.doAs(new PrivilegedExceptionAction<Object>() { @Override public Object run() throws Exception { appMaster.init(conf); appMaster.start(); if(appMaster.errorHappenedShutDown) { throw new IOException("Was asked to shut down."); } return null; } });