private void sendJobEndNotify(JobEndNotifier notifier) { try { LOG.info("Job end notification started for jobID : " + job.getReport().getJobId()); // If unregistration fails, the final state is unavailable. However, // at the last AM Retry, the client will finally be notified FAILED // from RM, so we should let users know FAILED via notifier as well JobReport report = job.getReport(); if (!context.hasSuccessfullyUnregistered()) { report.setJobState(JobState.FAILED); } notifier.notify(report); } catch (InterruptedException ie) { LOG.warn("Job end notification interrupted for jobID : " + job.getReport().getJobId(), ie); } }
report.setJobState(JobState.FAILED); notifier.notify(report); } catch (InterruptedException ie) { LOG.warn("Job end notification interrupted for jobID : "
report.setJobState(JobState.FAILED); notifier.notify(report); } catch (InterruptedException ie) { LOG.warn("Job end notification interrupted for jobID : "