public void abortJob(JobContext job, State state) throws IOException {
LOG.info("aborting job");
StorageHelper sh = new StorageHelper(job.getConfiguration());
try {
LOG.info("deleting committed files");
sh.deleteCommitted();
} finally {
LOG.info("deleting temp files");
sh.deleteBaseTempLocation();
}
}