Example usage for Java org.apache.hadoop.mapreduce.lib.output FileOutputCommitter fields, constructors, methods, implement or subclass
The text is from its open source code.
String | TEMP_DIR_NAME Temporary directory name The static variable to be compatible with M/R 1.x |
String | SUCCEEDED_FILE_NAME |
String | SUCCESSFUL_JOB_OUTPUT_DIR_MARKER |
String | FILEOUTPUTCOMMITTER_ALGORITHM_VERSION |
FileOutputCommitter(Path outputPath, TaskAttemptContext context) Create a file output committer | |
FileOutputCommitter(Path outputPath, JobContext context) Create a file output committer |
void | cleanupJob(JobContext context) |
void | commitJob(JobContext context) The job has completed, so do works in commitJobInternal(). |
void | commitTask(TaskAttemptContext context) Move the files from the work directory to the job output directory |
Path | getJobAttemptPath(JobContext context) Compute the path where the output of a given job attempt will be placed. |
Path | getJobAttemptPath(int appAttemptId) Compute the path where the output of a given job attempt will be placed. |
Path | getWorkPath() Get the directory that the task should write results into. |
boolean | needsTaskCommit(TaskAttemptContext context) Did this task write any files in the work directory? |
void | setupJob(JobContext context) Create the temporary directory that is the root of all of the task work directories. |
void | setupTask(TaskAttemptContext context) No task setup required. |