} catch (Throwable t) { LOG.warn("Graceful stop failed. Exiting.. ", t); exitMRAppMaster(1, t); } finally { if (isLastAMRetry && notifier != null) { exitMRAppMaster(0, null);
} catch (Throwable t) { LOG.warn("Graceful stop failed. Exiting.. ", t); exitMRAppMaster(1, t); exitMRAppMaster(0, null);