Java org.apache.hadoop.mapreduce.lib.output FileOutputCommitter fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.mapreduce.lib.output FileOutputCommitter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.mapreduce.lib.output FileOutputCommitter.

The text is from its open source code.

Subclass

org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter has subclasses.
Click this link to see all its subclasses.

Field

StringTEMP_DIR_NAME
Temporary directory name The static variable to be compatible with M/R 1.x
StringSUCCEEDED_FILE_NAME
StringSUCCESSFUL_JOB_OUTPUT_DIR_MARKER
StringFILEOUTPUTCOMMITTER_ALGORITHM_VERSION

Constructor

Method

voidcleanupJob(JobContext context)
voidcommitJob(JobContext context)
The job has completed, so do works in commitJobInternal().
voidcommitTask(TaskAttemptContext context)
Move the files from the work directory to the job output directory
PathgetJobAttemptPath(JobContext context)
Compute the path where the output of a given job attempt will be placed.
PathgetJobAttemptPath(int appAttemptId)
Compute the path where the output of a given job attempt will be placed.
PathgetWorkPath()
Get the directory that the task should write results into.
booleanneedsTaskCommit(TaskAttemptContext context)
Did this task write any files in the work directory?
voidsetupJob(JobContext context)
Create the temporary directory that is the root of all of the task work directories.
voidsetupTask(TaskAttemptContext context)
No task setup required.