Class StagingCommitterFactory
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.mapreduce.lib.output.PathOutputCommitterFactory
org.apache.hadoop.fs.s3a.commit.AbstractS3ACommitterFactory
org.apache.hadoop.fs.s3a.commit.staging.StagingCommitterFactory
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
Factory for the staging committer.
This is for internal test use, rather than the public directory and
partitioned committers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of this class: "org.apache.hadoop.fs.s3a.commit.staging.StagingCommitterFactory".Fields inherited from class org.apache.hadoop.fs.s3a.commit.AbstractS3ACommitterFactory
LOGFields inherited from class org.apache.hadoop.mapreduce.lib.output.PathOutputCommitterFactory
COMMITTER_FACTORY_CLASS, COMMITTER_FACTORY_DEFAULT, COMMITTER_FACTORY_SCHEME, COMMITTER_FACTORY_SCHEME_PATTERN, FILE_COMMITTER_FACTORY, NAMED_COMMITTER_CLASS, NAMED_COMMITTER_FACTORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.mapreduce.lib.output.PathOutputCommittercreateTaskCommitter(S3AFileSystem fileSystem, org.apache.hadoop.fs.Path outputPath, org.apache.hadoop.mapreduce.TaskAttemptContext context) Implementation point: create a task committer for a specific filesystem.Methods inherited from class org.apache.hadoop.fs.s3a.commit.AbstractS3ACommitterFactory
createOutputCommitter, getDestinationFileSystemMethods inherited from class org.apache.hadoop.mapreduce.lib.output.PathOutputCommitterFactory
createCommitter, createFileOutputCommitter, getCommitterFactoryMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Field Details
-
CLASSNAME
Name of this class: "org.apache.hadoop.fs.s3a.commit.staging.StagingCommitterFactory".- See Also:
-
-
Constructor Details
-
StagingCommitterFactory
public StagingCommitterFactory()
-
-
Method Details
-
createTaskCommitter
public org.apache.hadoop.mapreduce.lib.output.PathOutputCommitter createTaskCommitter(S3AFileSystem fileSystem, org.apache.hadoop.fs.Path outputPath, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException Description copied from class:AbstractS3ACommitterFactoryImplementation point: create a task committer for a specific filesystem.- Specified by:
createTaskCommitterin classAbstractS3ACommitterFactory- Parameters:
fileSystem- destination FS.outputPath- final output path for workcontext- task context- Returns:
- a committer
- Throws:
IOException- any problem, including the FS not supporting the desired committer
-