| Constructor and Description |
|---|
ConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addLink(Configuration conf,
String mountTableName,
String src,
URI target)
Add a link to the config for the specified mount table
|
static void |
addLink(Configuration conf,
String src,
URI target)
Add a link to the config for the default mount table
|
static void |
addLinkFallback(Configuration conf,
String mountTableName,
URI target)
Add a LinkFallback to the config for the specified mount table.
|
static void |
addLinkFallback(Configuration conf,
URI target)
Add a LinkFallback to the config for the default mount table.
|
static void |
addLinkMerge(Configuration conf,
String mountTableName,
URI[] targets)
Add a LinkMerge to the config for the specified mount table.
|
static void |
addLinkMerge(Configuration conf,
URI[] targets)
Add a LinkMerge to the config for the default mount table.
|
static void |
addLinkMergeSlash(Configuration conf,
String mountTableName,
URI target)
Add a LinkMergeSlash to the config for the specified mount table.
|
static void |
addLinkMergeSlash(Configuration conf,
URI target)
Add a LinkMergeSlash to the config for the default mount table.
|
static void |
addLinkNfly(Configuration conf,
String mountTableName,
String src,
String settings,
URI... targets) |
static void |
addLinkNfly(Configuration conf,
String src,
URI... targets) |
static String |
getConfigViewFsPrefix()
Get the config variable prefix for the default mount table
|
static String |
getConfigViewFsPrefix(String mountTableName)
Get the config variable prefix for the specified mount table
|
static String |
getHomeDirValue(Configuration conf)
Get the value of the home dir conf value for default mount table
|
static String |
getHomeDirValue(Configuration conf,
String mountTableName)
Get the value of the home dir conf value for specfied mount table
|
static void |
setHomeDirConf(Configuration conf,
String homedir)
Add config variable for homedir for default mount table
|
static void |
setHomeDirConf(Configuration conf,
String mountTableName,
String homedir)
Add config variable for homedir the specified mount table
|
public static String getConfigViewFsPrefix(String mountTableName)
mountTableName - - the name of the mount tablepublic static String getConfigViewFsPrefix()
public static void addLink(Configuration conf, String mountTableName, String src, URI target)
conf - - add the link to this confmountTableName - src - - the src path nametarget - - the target URI linkpublic static void addLink(Configuration conf, String src, URI target)
conf - - add the link to this confsrc - - the src path nametarget - - the target URI linkpublic static void addLinkMergeSlash(Configuration conf, String mountTableName, URI target)
conf - mountTableName - target - public static void addLinkMergeSlash(Configuration conf, URI target)
conf - target - public static void addLinkFallback(Configuration conf, String mountTableName, URI target)
conf - mountTableName - target - public static void addLinkFallback(Configuration conf, URI target)
conf - target - public static void addLinkMerge(Configuration conf, String mountTableName, URI[] targets)
conf - mountTableName - targets - public static void addLinkMerge(Configuration conf, URI[] targets)
conf - targets - public static void addLinkNfly(Configuration conf, String mountTableName, String src, String settings, URI... targets)
conf - mountTableName - src - settings - targets - public static void addLinkNfly(Configuration conf, String src, URI... targets)
public static void setHomeDirConf(Configuration conf, String homedir)
conf - - add to this confhomedir - - the home dir path starting with slashpublic static void setHomeDirConf(Configuration conf, String mountTableName, String homedir)
conf - - add to this confhomedir - - the home dir path starting with slashpublic static String getHomeDirValue(Configuration conf)
conf - - from this confpublic static String getHomeDirValue(Configuration conf, String mountTableName)
conf - - from this confmountTableName - - the mount tableCopyright © 2022 Apache Software Foundation. All rights reserved.