@Internal public interface HadoopFileCommitterFactory extends Serializable
HadoopFileCommitter
.Modifier and Type | Method and Description |
---|---|
HadoopFileCommitter |
create(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path targetFilePath)
Creates a new Hadoop file committer for writing.
|
HadoopFileCommitter |
recoverForCommit(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path targetFilePath,
org.apache.hadoop.fs.Path inProgressPath)
Creates a Hadoop file committer for commit the pending file.
|
HadoopFileCommitter create(org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path targetFilePath) throws IOException
configuration
- The hadoop configuration.targetFilePath
- The target path to commit to.IOException
HadoopFileCommitter recoverForCommit(org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path targetFilePath, org.apache.hadoop.fs.Path inProgressPath) throws IOException
configuration
- The hadoop configuration.targetFilePath
- The target path to commit to.inProgressPath
- The path of the remaining pending file.IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.