use of org.apache.hadoop.mapreduce.OutputCommitter in project cdap by caskdata.
the class MultipleOutputsCommitter method abortTask.
@Override
public void abortTask(TaskAttemptContext taskContext) throws IOException {
for (Map.Entry<String, OutputCommitter> committer : committers.entrySet()) {
TaskAttemptContext namedTaskContext = MultipleOutputs.getNamedTaskContext(taskContext, committer.getKey());
committer.getValue().abortTask(namedTaskContext);
}
}
use of org.apache.hadoop.mapreduce.OutputCommitter in project cdap by caskdata.
the class MultipleOutputsCommitter method recoverTask.
@Override
public void recoverTask(TaskAttemptContext taskContext) throws IOException {
for (Map.Entry<String, OutputCommitter> committer : committers.entrySet()) {
TaskAttemptContext namedTaskContext = MultipleOutputs.getNamedTaskContext(taskContext, committer.getKey());
committer.getValue().recoverTask(namedTaskContext);
}
}
use of org.apache.hadoop.mapreduce.OutputCommitter in project cdap by caskdata.
the class MultipleOutputsCommitter method abortJob.
@Override
public void abortJob(JobContext jobContext, JobStatus.State state) throws IOException {
for (Map.Entry<String, OutputCommitter> committer : committers.entrySet()) {
JobContext namedJobContext = MultipleOutputs.getNamedJobContext(jobContext, committer.getKey());
committer.getValue().abortJob(namedJobContext, state);
}
}
use of org.apache.hadoop.mapreduce.OutputCommitter in project cdap by caskdata.
the class MultipleOutputsCommitter method commitJob.
@Override
public void commitJob(JobContext jobContext) throws IOException {
for (Map.Entry<String, OutputCommitter> committer : committers.entrySet()) {
JobContext namedJobContext = MultipleOutputs.getNamedJobContext(jobContext, committer.getKey());
committer.getValue().commitJob(namedJobContext);
}
}
use of org.apache.hadoop.mapreduce.OutputCommitter in project cdap by caskdata.
the class MultipleOutputsCommitter method setupTask.
@Override
public void setupTask(TaskAttemptContext taskContext) throws IOException {
for (Map.Entry<String, OutputCommitter> committer : committers.entrySet()) {
TaskAttemptContext namedTaskContext = MultipleOutputs.getNamedTaskContext(taskContext, committer.getKey());
committer.getValue().setupTask(namedTaskContext);
}
}
Aggregations