| Package | Description |
|---|---|
| org.apache.hadoop.util |
Common utilities.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
DiskChecker.checkDir(java.io.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.
|
static void |
DiskChecker.checkDirWithDiskIo(java.io.File dir) |
Create the directory if it doesn't exist and check that dir is
readable, writable and executable.
|
static void |
DiskChecker.checkDirWithDiskIo(LocalFileSystem localFS,
Path dir,
FsPermission expected) |
Create the local directory if necessary, also ensure permissions
allow it to be read from and written into.
|
void |
BasicDiskValidator.checkStatus(java.io.File dir) |
|
void |
DiskValidator.checkStatus(java.io.File dir) |
Check the status of a file/dir.
|
void |
ReadWriteDiskValidator.checkStatus(java.io.File dir) |
|
static DiskValidator |
DiskValidatorFactory.getInstance(java.lang.String diskValidator) |
Returns
DiskValidator instance corresponding to its name. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.