public class DirectoryStagingCommitter extends StagingCommitter
AbstractS3ACommitter.ActiveCommit| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name: "directory".
|
THREAD_PREFIX| 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.
|
void |
preCommitJob(org.apache.hadoop.mapreduce.JobContext context,
AbstractS3ACommitter.ActiveCommit 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, abortPendingUploads, buildThreadPool, cleanupJob, commitJob, commitJobInternal, commitPendingUploads, deleteTaskAttemptPathQuietly, destroyThreadPool, getCommitOperations, getConf, getDestFS, getDestinationFS, getDestS3AFS, getJobContext, getOutputPath, getRole, getTaskAttemptFilesystem, getTaskAttemptPath, getWorkPath, hasThreadPool, initiateCommitOperation, initOutput, jobCompleted, maybeCreateSuccessMarker, maybeCreateSuccessMarkerFromCommits, maybeIgnore, maybeIgnore, precommitCheckPendingFiles, recoverTask, requiresDelayedCommitOutputInFileSystem, setConf, setDestFS, setOutputPath, setWorkPath, singleCommitThreadPoolhasOutputPathpublic 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.public void preCommitJob(org.apache.hadoop.mapreduce.JobContext context,
AbstractS3ACommitter.ActiveCommit pending)
throws IOException
preCommitJob in class StagingCommittercontext - job contextpending - pending commitsIOException - any failureCopyright © 2008–2020 Apache Software Foundation. All rights reserved.