public class HadoopFileSystemsUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOC_FS_WORK_DIR_PROP
Name of the property for setting working directory on create new local FS instance.
|
| Constructor and Description |
|---|
HadoopFileSystemsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearFileSystemCache()
Clears Hadoop
FileSystem cache. |
static String |
disableFsCachePropertyName(String scheme)
Gets the property name to disable file system cache.
|
static void |
setupFileSystems(Configuration cfg)
Setup wrappers of filesystems to support the separate working directory.
|
public static final String LOC_FS_WORK_DIR_PROP
public static void setupFileSystems(Configuration cfg)
cfg - Config for setup.public static String disableFsCachePropertyName(@Nullable String scheme)
scheme - The file system URI scheme.public static void clearFileSystemCache()
throws IOException
FileSystem cache.IOException - On error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019