public class PartitionedStagingCommitter extends StagingCommitter
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name: "partitioned".
|
| Constructor and Description |
|---|
PartitionedStagingCommitter(org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
commitTaskInternal(org.apache.hadoop.mapreduce.TaskAttemptContext context,
List<? extends org.apache.hadoop.fs.FileStatus> taskOutput)
Commit the task by uploading all created files and then
writing a pending entry for them.
|
String |
getName()
Get the name of this committer.
|
protected void |
preCommitJob(org.apache.hadoop.mapreduce.JobContext context,
List<SinglePendingCommit> pending)
Job-side conflict resolution.
|
String |
toString() |
abortJobInternal, abortPendingUploadsInCleanup, abortTask, cleanup, cleanupStagingDirs, commitTask, createWrappedCommitter, deleteDestinationPaths, deleteTaskWorkingPathQuietly, failDestinationExists, getBaseTaskAttemptPath, getCommittedTaskPath, getCommittedTaskPath, getConfictModeOption, getConflictResolutionMode, getFinalKey, getFinalPath, getJobAttemptFileSystem, getJobAttemptPath, getJobAttemptPath, getJobAttemptPath, getTaskAttemptPath, getTaskOutput, getTempTaskAttemptPath, getUploadUUID, getUploadUUID, getUUID, initFileOutputCommitterOptions, listPendingUploads, listPendingUploadsToAbort, listPendingUploadsToCommit, needsTaskCommit, setupJob, setupTask, useUniqueFilenamesabortJob, abortPendingUploads, buildThreadPool, cleanupJob, commitJob, commitJobInternal, commitPendingUploads, deleteTaskAttemptPathQuietly, getCommitOperations, getConf, getDestFS, getDestinationFS, getDestS3AFS, getJobContext, getOutputPath, getRole, getTaskAttemptFilesystem, getTaskAttemptPath, getWorkPath, initOutput, jobCompleted, loadPendingsetFiles, maybeCreateSuccessMarker, maybeCreateSuccessMarkerFromCommits, maybeIgnore, maybeIgnore, recoverTask, requiresDelayedCommitOutputInFileSystem, setConf, setDestFS, setOutputPath, setWorkPathhasOutputPathpublic static final String NAME
public PartitionedStagingCommitter(org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException
IOExceptionpublic String getName()
AbstractS3ACommittergetName in class StagingCommitterpublic String toString()
toString in class StagingCommitterprotected int commitTaskInternal(org.apache.hadoop.mapreduce.TaskAttemptContext context,
List<? extends org.apache.hadoop.fs.FileStatus> taskOutput)
throws IOException
StagingCommittercommitTaskInternal in class StagingCommittercontext - task contexttaskOutput - list of files from the outputIOException - IO Failures.protected void preCommitJob(org.apache.hadoop.mapreduce.JobContext context,
List<SinglePendingCommit> pending)
throws IOException
preCommitJob in class AbstractS3ACommittercontext - job contextpending - the pending operationsIOException - any failureCopyright © 2008–2019 Apache Software Foundation. All rights reserved.