Package org.apache.flink.runtime.fs.hdfs
Class HadoopFsRecoverable
java.lang.Object
org.apache.flink.runtime.fs.hdfs.HadoopFsRecoverable
- All Implemented Interfaces:
org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable,org.apache.flink.core.fs.RecoverableWriter.ResumeRecoverable
@Internal
public class HadoopFsRecoverable
extends Object
implements org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable, org.apache.flink.core.fs.RecoverableWriter.ResumeRecoverable
An implementation of the resume and commit descriptor objects for Hadoop's/AzureBlob file system
abstraction.
-
Constructor Summary
ConstructorsConstructorDescriptionHadoopFsRecoverable(org.apache.hadoop.fs.Path targetFile, org.apache.hadoop.fs.Path tempFile, long offset) Creates a resumable for the given file at the given position. -
Method Summary
-
Constructor Details
-
HadoopFsRecoverable
public HadoopFsRecoverable(org.apache.hadoop.fs.Path targetFile, org.apache.hadoop.fs.Path tempFile, long offset) Creates a resumable for the given file at the given position.- Parameters:
targetFile- The file to resume.offset- The position to resume from.
-
-
Method Details