/** Get the number of finished maps */ public int getFinishedMaps() { return datum.getFinishedMaps(); } /** Get the number of finished reduces */
/** Get the number of finished maps */ public int getFinishedMaps() { return datum.getFinishedMaps(); } /** Get the number of finished reduces */
/** Get the number of finished maps */ public int getFinishedMaps() { return datum.getFinishedMaps(); } /** Get the number of finished reduces */
/** Get the number of finished maps */ public int getFinishedMaps() { return datum.getFinishedMaps(); } /** Get the number of finished reduces */
private void handleJobUnsuccessfulCompletion(Event wrapper) throws Exception { JobUnsuccessfulCompletion js = ((JobUnsuccessfulCompletion) wrapper.getEvent()); Map<Keys, String> values = new HashMap<>(); if (js.getJobid() != null) { values.put(Keys.JOBID, js.getJobid().toString()); } if (js.getFinishTime() != null) { values.put(Keys.FINISH_TIME, js.getFinishTime().toString()); } if (js.getFinishedMaps() != null) { values.put(Keys.FINISHED_MAPS, js.getFinishedMaps().toString()); } if (js.getFinishedReduces() != null) { values.put(Keys.FINISHED_REDUCES, js.getFinishedReduces().toString()); } if (js.getJobStatus() != null) { values.put(Keys.JOB_STATUS, js.getJobStatus().toString()); } if (js.getDiagnostics() != null) { values.put(Keys.DIAGNOSTICS, js.getDiagnostics().toString()); } handleJob(wrapper.getType(), values, null, null, null); }