程序包 | 说明 |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.util |
Common utilities.
|
限定符和类型 | 方法和说明 |
---|---|
static LocalFileSystem |
FileSystem.getLocal(Configuration conf)
Get the local file syste
|
限定符和类型 | 方法和说明 |
---|---|
static void |
DiskChecker.checkDir(LocalFileSystem localFS,
Path dir,
FsPermission expected)
Create the local directory if necessary, check permissions and also ensure
it can be read from and written into.
|
static boolean |
DiskChecker.mkdirsWithExistsAndPermissionCheck(LocalFileSystem localFS,
Path dir,
FsPermission expected)
Create the directory or check permissions if it already exists.
|
Copyright © 2009 The Apache Software Foundation