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.

appMasterUgi.doAs(new PrivilegedExceptionAction<Object>() {
      public Object run() throws Exception {
        if(appMaster.errorHappenedShutDown) {
          throw new IOException("Was asked to shut down.");
        return null;

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to