|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.util.FSUtils
public class FSUtils
Utility methods for interacting with the underlying file system.
Method Summary | |
---|---|
static boolean |
checkVersion(FileSystem fs,
Path rootdir)
Verifies current version of file system |
static boolean |
isFileSystemAvailable(FileSystem fs)
Checks to see if the specified file system is available |
static void |
setVersion(FileSystem fs,
Path rootdir)
Sets version of file system |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isFileSystemAvailable(FileSystem fs)
fs
-
public static boolean checkVersion(FileSystem fs, Path rootdir) throws IOException
fs
- rootdir
-
IOException
public static void setVersion(FileSystem fs, Path rootdir) throws IOException
fs
- rootdir
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |