程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs.server.datanode | |
org.apache.hadoop.util |
Common utilities.
|
限定符和类型 | 方法和说明 |
---|---|
void |
FSDatasetInterface.checkDataDir()
Check if all the data directories are healthy
|
void |
FSDataset.checkDataDir()
check if a data directory is healthy
if some volumes failed - make sure to remove all the blocks that belong
to these volumes
|
限定符和类型 | 方法和说明 |
---|---|
static void |
DiskChecker.checkDir(File dir)
Create the directory if it doesn't exist and
|
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.
|
Copyright © 2009 The Apache Software Foundation