public class CopyCommitter extends FileOutputCommitter
FILEOUTPUTCOMMITTER_ALGORITHM_VERSION, FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT, FILEOUTPUTCOMMITTER_FAILURE_ATTEMPTS, FILEOUTPUTCOMMITTER_FAILURE_ATTEMPTS_DEFAULT, PENDING_DIR_NAME, SUCCEEDED_FILE_NAME, SUCCESSFUL_JOB_OUTPUT_DIR_MARKER, TEMP_DIR_NAME| Constructor and Description |
|---|
CopyCommitter(Path outputPath,
TaskAttemptContext context)
Create a output committer
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortJob(JobContext jobContext,
JobStatus.State state) |
void |
commitJob(JobContext jobContext) |
abortTask, abortTask, cleanupJob, commitJobInternal, commitTask, commitTask, getCommittedTaskPath, getCommittedTaskPath, getCommittedTaskPath, getJobAttemptPath, getJobAttemptPath, getJobAttemptPath, getTaskAttemptPath, getTaskAttemptPath, getWorkPath, isCommitJobRepeatable, isRecoverySupported, needsTaskCommit, needsTaskCommit, recoverTask, setupJob, setupTaskisRecoverySupportedpublic CopyCommitter(Path outputPath, TaskAttemptContext context) throws IOException
outputPath - the job's output pathcontext - the task's contextIOException - - Exception if anypublic void commitJob(JobContext jobContext) throws IOException
commitJob in class FileOutputCommitterIOExceptionpublic void abortJob(JobContext jobContext, JobStatus.State state) throws IOException
abortJob in class FileOutputCommitterIOExceptionCopyright © 2018 CERN. All Rights Reserved.