| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.util |
Common utilities.
|
| Modifier and Type | Method | Description |
|---|---|---|
static LocalFileSystem |
FileSystem.getLocal(Configuration conf) |
Get the local FileSystem.
|
static LocalFileSystem |
FileSystem.newInstanceLocal(Configuration conf) |
Get a unique local FileSystem object.
|
| Modifier and Type | Method | Description |
|---|---|---|
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(LocalFileSystem localFS,
Path dir,
FsPermission expected) |
Create the local directory if necessary, also ensure permissions
allow it to be read from and written into.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.