Package | Description |
---|---|
org.apache.hadoop.hdfs.server.datanode.fsdataset | |
org.apache.hadoop.util |
Common utilities.
|
Modifier and Type | Method and Description |
---|---|
void |
FsDatasetSpi.checkDataDir()
Check if all the data directories are healthy
|
Modifier and Type | Method and Description |
---|---|
static void |
DiskChecker.checkDir(File dir)
Create the directory if it doesn't exist and check that dir is readable,
writable and executable
|
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 © 2013 Apache Software Foundation. All rights reserved.