Kuhu Shukla created MAPREDUCE-7122:
--------------------------------------
Summary: MRAppMaster should not exit before shutdown when an error
is encountered
Key: MAPREDUCE-7122
URL: https://issues.apache.org/jira/browse/MAPREDUCE-7122
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 2.8.4
Reporter: Kuhu Shukla
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.
{code}
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;
}
});
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]