@Override public void run() { jobProgressTracker.logFailure(reason); } });
/** * Set the job state to FAILED. This will kill the job, and log exceptions to * any observers. * * @param reason The reason the job failed */ private void setJobStateFailed(String reason) { getGraphTaskManager().getJobProgressTracker().logFailure(reason); setJobState(ApplicationState.FAILED, -1, -1, false); failJob(new IllegalStateException(reason)); }