Package org.apache.accumulo.server.fs
Class ViewFSUtils
- java.lang.Object
-
- org.apache.accumulo.server.fs.ViewFSUtils
-
public class ViewFSUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringVIEWFS_CLASSNAME
-
Constructor Summary
Constructors Constructor Description ViewFSUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisViewFS(org.apache.hadoop.fs.FileSystem fs)static booleanisViewFS(org.apache.hadoop.fs.Path source, org.apache.hadoop.conf.Configuration conf)static booleanisViewFSSupported()static org.apache.hadoop.fs.PathmatchingFileSystem(org.apache.hadoop.fs.Path source, String[] options, org.apache.hadoop.conf.Configuration conf)
-
-
-
Field Detail
-
VIEWFS_CLASSNAME
public static final String VIEWFS_CLASSNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isViewFSSupported
public static boolean isViewFSSupported()
-
isViewFS
public static boolean isViewFS(org.apache.hadoop.fs.Path source, org.apache.hadoop.conf.Configuration conf) throws IOException- Throws:
IOException
-
isViewFS
public static boolean isViewFS(org.apache.hadoop.fs.FileSystem fs)
-
matchingFileSystem
public static org.apache.hadoop.fs.Path matchingFileSystem(org.apache.hadoop.fs.Path source, String[] options, org.apache.hadoop.conf.Configuration conf) throws IOException- Throws:
IOException
-
-