You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Kuhu Shukla (JIRA)" <ji...@apache.org> on 2018/07/12 18:37:00 UTC
[jira] [Created] (MAPREDUCE-7122) MRAppMaster should not exit
before shutdown when an error is encountered
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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org