Description
In local mode, TezClient and Tez-AM run in the same JVM, we don't need to call system.exit when AM is failed to start, throw exception should be more proper.
dagAppMaster = createDAGAppMaster(applicationAttemptId, cId, currentHost, nmPort, nmHttpPort, new SystemClock(), appSubmitTime, isSession, userDir.toUri().getPath()); clientHandler = new DAGClientHandler(dagAppMaster); DAGAppMaster.initAndStartAppMaster(dagAppMaster, currentUser.getShortUserName()); } catch (Throwable t) { LOG.fatal("Error starting DAGAppMaster", t); System.exit(1); }
Attachments
Attachments
Issue Links
- relates to
-
TEZ-684 Uber/Local modes for Tez
- Closed