|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ApplicationConstants.Environment>
org.apache.hadoop.yarn.api.ApplicationConstants.Environment
public static enum ApplicationConstants.Environment
Environment for Applications. Some of the environment variables for applications are final i.e. they cannot be modified by the applications.
| Enum Constant Summary | |
|---|---|
CLASSPATH
$CLASSPATH |
|
HADOOP_COMMON_HOME
$HADOOP_COMMON_HOME |
|
HADOOP_CONF_DIR
$HADOOP_CONF_DIR Final, non-modifiable. |
|
HADOOP_HDFS_HOME
$HADOOP_HDFS_HOME |
|
HOME
$HOME Final, non-modifiable. |
|
JAVA_HOME
$JAVA_HOME |
|
LD_LIBRARY_PATH
$LD_LIBRARY_PATH |
|
LOGNAME
$LOGNAME Final, non-modifiable. |
|
MALLOC_ARENA_MAX
$MALLOC_ARENA_MAX |
|
PATH
$PATH |
|
PWD
$PWD Final, non-modifiable. |
|
SHELL
$SHELL |
|
USER
$USER Final, non-modifiable. |
|
YARN_HOME
$YARN_HOME |
|
| Method Summary | |
|---|---|
String |
$()
|
String |
key()
|
String |
toString()
|
static ApplicationConstants.Environment |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApplicationConstants.Environment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ApplicationConstants.Environment USER
public static final ApplicationConstants.Environment LOGNAME
public static final ApplicationConstants.Environment HOME
public static final ApplicationConstants.Environment PWD
public static final ApplicationConstants.Environment PATH
public static final ApplicationConstants.Environment SHELL
public static final ApplicationConstants.Environment JAVA_HOME
public static final ApplicationConstants.Environment CLASSPATH
public static final ApplicationConstants.Environment LD_LIBRARY_PATH
public static final ApplicationConstants.Environment HADOOP_CONF_DIR
public static final ApplicationConstants.Environment HADOOP_COMMON_HOME
public static final ApplicationConstants.Environment HADOOP_HDFS_HOME
public static final ApplicationConstants.Environment MALLOC_ARENA_MAX
public static final ApplicationConstants.Environment YARN_HOME
| Method Detail |
|---|
public static ApplicationConstants.Environment[] values()
for (ApplicationConstants.Environment c : ApplicationConstants.Environment.values()) System.out.println(c);
public static ApplicationConstants.Environment valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String key()
public String toString()
toString in class Enum<ApplicationConstants.Environment>public String $()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||