public final class NamedCommitterFactory extends PathOutputCommitterFactory
PathOutputCommitterFactory.NAMED_COMMITTER_CLASS
.COMMITTER_FACTORY_CLASS, COMMITTER_FACTORY_DEFAULT, COMMITTER_FACTORY_SCHEME, COMMITTER_FACTORY_SCHEME_PATTERN, FILE_COMMITTER_FACTORY, NAMED_COMMITTER_CLASS, NAMED_COMMITTER_FACTORY
Constructor and Description |
---|
NamedCommitterFactory() |
Modifier and Type | Method and Description |
---|---|
PathOutputCommitter |
createOutputCommitter(org.apache.hadoop.fs.Path outputPath,
TaskAttemptContext context)
Create an output committer for a task attempt.
|
createCommitter, createFileOutputCommitter, getCommitterFactory
public PathOutputCommitter createOutputCommitter(org.apache.hadoop.fs.Path outputPath, TaskAttemptContext context) throws IOException
PathOutputCommitterFactory
createOutputCommitter
in class PathOutputCommitterFactory
outputPath
- output path. This may be null.context
- contextIOException
- problems instantiating the committerCopyright © 2008–2019 Apache Software Foundation. All rights reserved.