Package org.apache.hadoop.fs.viewfs
Class FsGetter
java.lang.Object
org.apache.hadoop.fs.viewfs.FsGetter
File system instance getter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(URI uri, Configuration conf) Gets file system instance of given uri.getNewInstance(URI uri, Configuration conf) Gets new file system instance of given uri.
-
Constructor Details
-
FsGetter
public FsGetter()
-
-
Method Details
-
getNewInstance
Gets new file system instance of given uri.- Parameters:
uri- uri.conf- configuration.- Returns:
- file system.
- Throws:
IOException- raised on errors performing I/O.
-
get
Gets file system instance of given uri.- Parameters:
uri- uri.conf- configuration.- Returns:
- FileSystem.
- Throws:
IOException- raised on errors performing I/O.
-