@Internal public interface HadoopFileCommitterFactory extends Serializable
HadoopFileCommitter.| 限定符和类型 | 方法和说明 |
|---|---|
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.IOExceptionHadoopFileCommitter 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.IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.