MAPREDUCE-4422. YARN_APPLICATION_CLASSPATH needs a documented default value in YarnConfiguration. Contributed by Ahmed Radwan. (harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1361062 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0565cb3c03
commit
eb22b9d183
|
@ -161,6 +161,9 @@ Release 2.0.0-alpha - 05-23-2012
|
||||||
MAPREDUCE-3906. Fix inconsistency in documentation regarding
|
MAPREDUCE-3906. Fix inconsistency in documentation regarding
|
||||||
mapreduce.jobhistory.principal. (Eugene Koontz via harsh)
|
mapreduce.jobhistory.principal. (Eugene Koontz via harsh)
|
||||||
|
|
||||||
|
MAPREDUCE-4422. YARN_APPLICATION_CLASSPATH needs a documented default
|
||||||
|
value in YarnConfiguration. (Ahmed Radwan via harsh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -541,10 +541,25 @@ public class YarnConfiguration extends Configuration {
|
||||||
public static final long DEFAULT_NM_PROCESS_KILL_WAIT_MS =
|
public static final long DEFAULT_NM_PROCESS_KILL_WAIT_MS =
|
||||||
2000;
|
2000;
|
||||||
|
|
||||||
/** Standard Hadoop classes */
|
/**
|
||||||
|
* CLASSPATH for YARN applications. A comma-separated list of CLASSPATH
|
||||||
|
* entries
|
||||||
|
*/
|
||||||
public static final String YARN_APPLICATION_CLASSPATH = YARN_PREFIX
|
public static final String YARN_APPLICATION_CLASSPATH = YARN_PREFIX
|
||||||
+ "application.classpath";
|
+ "application.classpath";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default CLASSPATH for YARN applications. A comma-separated list of
|
||||||
|
* CLASSPATH entries
|
||||||
|
*/
|
||||||
|
public static final String DEFAULT_YARN_APPLICATION_CLASSPATH =
|
||||||
|
"$HADOOP_CONF_DIR," + "$HADOOP_COMMON_HOME/share/hadoop/common/*," +
|
||||||
|
"$HADOOP_COMMON_HOME/share/hadoop/common/lib/*," +
|
||||||
|
"$HADOOP_HDFS_HOME/share/hadoop/hdfs/*," +
|
||||||
|
"$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*," +
|
||||||
|
"$YARN_HOME/share/hadoop/mapreduce/*," +
|
||||||
|
"$YARN_HOME/share/hadoop/mapreduce/lib/*";
|
||||||
|
|
||||||
/** Container temp directory */
|
/** Container temp directory */
|
||||||
public static final String DEFAULT_CONTAINER_TEMP_DIR = "./tmp";
|
public static final String DEFAULT_CONTAINER_TEMP_DIR = "./tmp";
|
||||||
|
|
||||||
|
|
|
@ -538,16 +538,9 @@
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<description>Classpath for typical applications.</description>
|
<description>CLASSPATH for YARN applications. A comma-separated list
|
||||||
|
of CLASSPATH entries</description>
|
||||||
<name>yarn.application.classpath</name>
|
<name>yarn.application.classpath</name>
|
||||||
<value>
|
<value>$HADOOP_CONF_DIR,$HADOOP_COMMON_HOME/share/hadoop/common/*,$HADOOP_COMMON_HOME/share/hadoop/common/lib/*,$HADOOP_HDFS_HOME/share/hadoop/hdfs/*,$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*,$YARN_HOME/share/hadoop/mapreduce/*,$YARN_HOME/share/hadoop/mapreduce/lib/*</value>
|
||||||
$HADOOP_CONF_DIR,
|
|
||||||
$HADOOP_COMMON_HOME/share/hadoop/common/*,
|
|
||||||
$HADOOP_COMMON_HOME/share/hadoop/common/lib/*,
|
|
||||||
$HADOOP_HDFS_HOME/share/hadoop/hdfs/*,
|
|
||||||
$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*,
|
|
||||||
$YARN_HOME/share/hadoop/mapreduce/*,
|
|
||||||
$YARN_HOME/share/hadoop/mapreduce/lib/*
|
|
||||||
</value>
|
|
||||||
</property>
|
</property>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue