public class DirectoryStagingCommitter extends StagingCommitter
AbstractS3ACommitter.ActiveCommit, AbstractS3ACommitter.JobUUIDSource| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name: "directory".
|
E_SELF_GENERATED_JOB_UUID, 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(CommitContext commitContext,
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, abortTask, cleanup, cleanupStagingDirs, commitTask, commitTaskInternal, createWrappedCommitter, deleteDestinationPaths, deleteStagingUploadsParentDirectory, deleteTaskWorkingPathQuietly, failDestinationExists, getBaseTaskAttemptPath, getCommittedTaskPath, getCommittedTaskPath, getConfictModeOption, getConflictResolutionMode, getFinalKey, getFinalPath, getJobAttemptFileSystem, getJobAttemptPath, getJobAttemptPath, getJobAttemptPath, getJobPath, getTaskAttemptPath, getTaskOutput, getTempTaskAttemptPath, initFileOutputCommitterOptions, listPendingUploads, listPendingUploadsToAbort, listPendingUploadsToCommit, needsTaskCommit, setupTask, toString, useUniqueFilenamesabortJob, abortPendingUploads, abortPendingUploads, abortPendingUploadsInCleanup, buildJobUUID, cleanupJob, commitJob, commitJobInternal, commitPendingUploads, deleteTaskAttemptPathQuietly, getAuditSpanSource, getCommitOperations, getConf, getDestFS, getDestinationFS, getDestS3AFS, getIOStatistics, getJobContext, getOutputPath, getRole, getTaskAttemptFilesystem, getTaskAttemptPath, getUUID, getUUIDSource, getWorkPath, initiateJobOperation, initiateTaskOperation, initOutput, jobCompleted, maybeCreateSuccessMarker, maybeCreateSuccessMarkerFromCommits, maybeIgnore, maybeIgnore, precommitCheckPendingFiles, recoverTask, requiresDelayedCommitOutputInFileSystem, setConf, setDestFS, setOutputPath, setWorkPath, startOperation, updateCommonContext, warnOnActiveUploadshasOutputPathpublic 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(CommitContext commitContext, AbstractS3ACommitter.ActiveCommit pending) throws IOException
preCommitJob in class StagingCommittercommitContext - commit contextpending - pending commitsIOException - any failureCopyright © 2008–2024 Apache Software Foundation. All rights reserved.