public class CopyCommitter
extends org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
| Constructor and Description |
|---|
CopyCommitter(org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create a output committer
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortJob(org.apache.hadoop.mapreduce.JobContext jobContext,
org.apache.hadoop.mapreduce.JobStatus.State state) |
void |
commitJob(org.apache.hadoop.mapreduce.JobContext jobContext) |
abortTask, abortTask, cleanupJob, commitTask, commitTask, getCommittedTaskPath, getCommittedTaskPath, getCommittedTaskPath, getJobAttemptPath, getJobAttemptPath, getJobAttemptPath, getTaskAttemptPath, getTaskAttemptPath, getWorkPath, isRecoverySupported, needsTaskCommit, needsTaskCommit, recoverTask, setupJob, setupTaskpublic CopyCommitter(org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException
outputPath - the job's output pathcontext - the task's contextIOException - - Exception if anypublic void commitJob(org.apache.hadoop.mapreduce.JobContext jobContext)
throws IOException
commitJob in class org.apache.hadoop.mapreduce.lib.output.FileOutputCommitterIOExceptionpublic void abortJob(org.apache.hadoop.mapreduce.JobContext jobContext,
org.apache.hadoop.mapreduce.JobStatus.State state)
throws IOException
abortJob in class org.apache.hadoop.mapreduce.lib.output.FileOutputCommitterIOExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.