@Internal
public interface HadoopFileCommitter
| 限定符和类型 | 方法和说明 |
|---|---|
void |
commit()
Commits the in-progress file to the target path.
|
void |
commitAfterRecovery()
Re-commits the in-progress file to the target path after fail-over.
|
org.apache.hadoop.fs.Path |
getTargetFilePath()
Gets the target path to commit to.
|
org.apache.hadoop.fs.Path |
getTempFilePath()
Gets the path of the intermediate file to commit.
|
void |
preCommit()
Prepares the intermediates file for committing.
|
org.apache.hadoop.fs.Path getTargetFilePath()
org.apache.hadoop.fs.Path getTempFilePath()
void preCommit()
throws IOException
IOExceptionvoid commit()
throws IOException
IOExceptionvoid commitAfterRecovery()
throws IOException
IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.