Package org.apache.hadoop.fs.azurebfs.commit
Class AzureManifestCommitterFactory
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.mapreduce.lib.output.PathOutputCommitterFactory
org.apache.hadoop.mapreduce.lib.output.committer.manifest.ManifestCommitterFactory
org.apache.hadoop.fs.azurebfs.commit.AzureManifestCommitterFactory
- All Implemented Interfaces:
Configurable
A Committer for the manifest committer which performs all bindings needed
to work best with abfs.
This includes, at a minimum, switching to the abfs-specific manifest store operations.
This classname is referenced in configurations, so MUST NOT change.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringClassname, which can be declared in job configurations.Fields 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 TypeMethodDescriptioncreateOutputCommitter(Path outputPath, TaskAttemptContext context) Create an output committer for a task attempt.Methods 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
-
NAME
Classname, which can be declared in job configurations.
-
-
Constructor Details
-
AzureManifestCommitterFactory
public AzureManifestCommitterFactory()
-
-
Method Details
-
createOutputCommitter
public ManifestCommitter createOutputCommitter(Path outputPath, TaskAttemptContext context) throws IOException Description copied from class:PathOutputCommitterFactoryCreate an output committer for a task attempt.- Overrides:
createOutputCommitterin classManifestCommitterFactory- Parameters:
outputPath- output path. This may be null.context- context- Returns:
- a new committer
- Throws:
IOException- problems instantiating the committer
-