Package org.apache.flink.runtime.fs.hdfs
Class HadoopFsFactory
java.lang.Object
org.apache.flink.runtime.fs.hdfs.HadoopFsFactory
- All Implemented Interfaces:
org.apache.flink.core.fs.FileSystemFactory,org.apache.flink.core.plugin.Plugin
A file system factory for Hadoop-based file systems.
This factory calls Hadoop's mechanism to find a file system implementation for a given file
system scheme (a FileSystem) and wraps it as a Flink file system (a
FileSystem).
-
Field Details
-
MAPRFS_SCHEME
- See Also:
-
-
Constructor Details
-
HadoopFsFactory
public HadoopFsFactory()
-
-
Method Details
-
getScheme
- Specified by:
getSchemein interfaceorg.apache.flink.core.fs.FileSystemFactory
-
configure
public void configure(org.apache.flink.configuration.Configuration config) - Specified by:
configurein interfaceorg.apache.flink.core.plugin.Plugin
-
create
- Specified by:
createin interfaceorg.apache.flink.core.fs.FileSystemFactory- Throws:
IOException
-