@Override
public void commitTask(TaskAttemptContext ctx) throws IOException {
LOG.info("committing task");
StorageHelper sh = new StorageHelper(ctx);
sh.moveTaskOutputToFinal();
}
@Override
public boolean needsTaskCommit(TaskAttemptContext ctx) throws IOException {
if (ctx.getTaskAttemptID().isMap()) {