public enum HadoopUtils extends Enum<HadoopUtils>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static String |
HADOOP_DLL |
static String |
HADOOP_HOME |
static String |
HDFS_DLL |
static String |
LIBWINUTILS_LIB |
static String |
WINUTILS_EXE |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.configuration.Configuration |
loadConfigFile(URL url) |
void |
printBanner(PrintStream out) |
static void |
printColorLine(PrintStream out,
org.fusesource.jansi.Ansi.Color color,
String line) |
static String |
resolveDir(String dir) |
void |
setHadoopHome() |
static HadoopUtils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopUtils INSTANCE
public static final String WINUTILS_EXE
public static final String HADOOP_HOME
public static final String HADOOP_DLL
public static final String LIBWINUTILS_LIB
public static final String HDFS_DLL
public static HadoopUtils[] values()
for (HadoopUtils c : HadoopUtils.values()) System.out.println(c);
public static HadoopUtils valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void printColorLine(PrintStream out, org.fusesource.jansi.Ansi.Color color, String line)
public void setHadoopHome()
public void printBanner(PrintStream out)
public org.apache.commons.configuration.Configuration loadConfigFile(URL url) throws BootstrapException
BootstrapExceptionCopyright © 2019. All rights reserved.