Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7122

MRAppMaster should not exit before shutdown when an error is encountered

    XMLWordPrintableJSON

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;
            }
          });
      

      Attachments

        Activity

          People

            kshukla Kuhu Shukla
            kshukla Kuhu Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: