public class DirectoryStagingCommitter extends StagingCommitter
| Constructor and Description |
|---|
DirectoryStagingCommitter(org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of this committer.
|
protected void |
preCommitJob(org.apache.hadoop.mapreduce.JobContext context,
List<SinglePendingCommit> pending)
Pre-commit actions for a job.
|
void |
setupJob(org.apache.hadoop.mapreduce.JobContext context)
Set up the job, including calling the same method on the
wrapped committer.
|
abortJobInternal, abortPendingUploadsInCleanup, abortTask, cleanup, cleanupStagingDirs, commitTask, commitTaskInternal, 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, setupTask, toString, 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 DirectoryStagingCommitter(org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException
IOExceptionpublic String getName()
AbstractS3ACommittergetName in class StagingCommitterpublic void setupJob(org.apache.hadoop.mapreduce.JobContext context)
throws IOException
StagingCommittersetupJob in class StagingCommittercontext - job contextIOException - IO failure.protected void preCommitJob(org.apache.hadoop.mapreduce.JobContext context,
List<SinglePendingCommit> pending)
throws IOException
preCommitJob in class AbstractS3ACommittercontext - job contextpending - pending commitsIOException - any failureCopyright © 2008–2019 Apache Software Foundation. All rights reserved.