@Checkpointable @InterfaceAudience.Public @InterfaceStability.Evolving public class PartialFileOutputCommitter extends FileOutputCommitter implements PartialOutputCommitter
OutputCommitter that commits files specified
 in job output directory i.e. ${mapreduce.output.fileoutputformat.outputdir}.FILEOUTPUTCOMMITTER_ALGORITHM_VERSION, FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_DEFAULT, FILEOUTPUTCOMMITTER_CLEANUP_FAILURES_IGNORED, FILEOUTPUTCOMMITTER_CLEANUP_FAILURES_IGNORED_DEFAULT, FILEOUTPUTCOMMITTER_CLEANUP_SKIPPED, FILEOUTPUTCOMMITTER_CLEANUP_SKIPPED_DEFAULT, FILEOUTPUTCOMMITTER_FAILURE_ATTEMPTS, FILEOUTPUTCOMMITTER_FAILURE_ATTEMPTS_DEFAULT, PENDING_DIR_NAME, SUCCEEDED_FILE_NAME, SUCCESSFUL_JOB_OUTPUT_DIR_MARKER, TEMP_DIR_NAME| コンストラクタと説明 | 
|---|
| PartialFileOutputCommitter(Path outputPath,
                          JobContext context) | 
| PartialFileOutputCommitter(Path outputPath,
                          TaskAttemptContext context) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | cleanUpPartialOutputForTask(TaskAttemptContext context)Remove all previously committed outputs from prior executions of this task. | 
| Path | getCommittedTaskPath(int appAttemptId,
                    TaskAttemptContext context)Compute the path where the output of a committed task is stored until the
 entire job is committed for a specific application attempt. | 
abortJob, abortTask, cleanupJob, commitJob, commitJobInternal, commitTask, getCommittedTaskPath, getCommittedTaskPath, getJobAttemptPath, getJobAttemptPath, getJobAttemptPath, getTaskAttemptPath, getTaskAttemptPath, getWorkPath, isCommitJobRepeatable, isRecoverySupported, needsTaskCommit, recoverTask, setupJob, setupTaskisRecoverySupportedpublic PartialFileOutputCommitter(Path outputPath, TaskAttemptContext context) throws IOException
IOExceptionpublic PartialFileOutputCommitter(Path outputPath, JobContext context) throws IOException
IOExceptionpublic Path getCommittedTaskPath(int appAttemptId, TaskAttemptContext context)
FileOutputCommittergetCommittedTaskPath クラス内 FileOutputCommitterappAttemptId - the id of the application attempt to usecontext - the context of any task.public void cleanUpPartialOutputForTask(TaskAttemptContext context) throws IOException
PartialOutputCommittercleanUpPartialOutputForTask インタフェース内 PartialOutputCommittercontext - Context for cleaning up previously promoted output.IOException - If cleanup fails, then the state of the task my not be
                     well defined.Copyright © 2016 Apache Software Foundation. All rights reserved.