public class FileSystemCreator
extends java.lang.Object
FileSystem using some Spark/Hadoop configuration
key-values.| Constructor and Description |
|---|
FileSystemCreator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.FileSystem |
get(java.lang.String path,
org.apache.hadoop.conf.Configuration configuration)
Create a
FileSystem from a Hadoop Configuration |
org.apache.hadoop.fs.FileSystem |
get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> configuration)
Create a
FileSystem from an agnostic configuration map |
org.apache.hadoop.fs.FileSystem |
get(java.lang.String path,
org.apache.spark.SparkConf configuration)
Create a
FileSystem from a SparkConf |
static java.util.Map<java.lang.String,java.lang.String> |
resourceFileSystemScheme() |
public static final java.util.Map<java.lang.String,java.lang.String> resourceFileSystemScheme()
ResourceFileSystem setup.public org.apache.hadoop.fs.FileSystem get(java.lang.String path,
org.apache.hadoop.conf.Configuration configuration)
FileSystem from a Hadoop Configurationpath - The path that defines the FileSystemconfiguration - The ConfigurationFileSystempublic org.apache.hadoop.fs.FileSystem get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> configuration)
FileSystem from an agnostic configuration mappath - The path that defines the FileSystemconfiguration - The agnostic configuration mapFileSystempublic org.apache.hadoop.fs.FileSystem get(java.lang.String path,
org.apache.spark.SparkConf configuration)
FileSystem from a SparkConfpath - The path that defines the FileSystemconfiguration - The SparkConfFileSystem