diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index e12daa0f08f..004fe92ae67 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -465,6 +465,8 @@ Release 2.0.0 - UNRELEASED HADOOP-8372. NetUtils.normalizeHostName() incorrectly handles hostname starting with a numeric character. (Junping Du via suresh) + HADOOP-8393. hadoop-config.sh missing variable exports, causes Yarn jobs to fail with ClassNotFoundException MRAppMaster. (phunt via tucu) + BREAKDOWN OF HADOOP-7454 SUBTASKS HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh) diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh index 6b1dd2e71fc..aa971f97ca4 100644 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh @@ -172,7 +172,7 @@ IFS= if [ "$HADOOP_COMMON_HOME" = "" ]; then if [ -d "${HADOOP_PREFIX}/$HADOOP_COMMON_DIR" ]; then - HADOOP_COMMON_HOME=$HADOOP_PREFIX + export HADOOP_COMMON_HOME=$HADOOP_PREFIX fi fi @@ -252,7 +252,7 @@ HADOOP_OPTS="$HADOOP_OPTS -Djava.net.preferIPv4Stack=true" # put hdfs in classpath if present if [ "$HADOOP_HDFS_HOME" = "" ]; then if [ -d "${HADOOP_PREFIX}/$HDFS_DIR" ]; then - HADOOP_HDFS_HOME=$HADOOP_PREFIX + export HADOOP_HDFS_HOME=$HADOOP_PREFIX fi fi @@ -269,7 +269,7 @@ CLASSPATH=${CLASSPATH}:$HADOOP_HDFS_HOME/$HDFS_DIR'/*' # put yarn in classpath if present if [ "$YARN_HOME" = "" ]; then if [ -d "${HADOOP_PREFIX}/$YARN_DIR" ]; then - YARN_HOME=$HADOOP_PREFIX + export YARN_HOME=$HADOOP_PREFIX fi fi @@ -286,7 +286,7 @@ CLASSPATH=${CLASSPATH}:$YARN_HOME/$YARN_DIR'/*' # put mapred in classpath if present AND different from YARN if [ "$HADOOP_MAPRED_HOME" = "" ]; then if [ -d "${HADOOP_PREFIX}/$MAPRED_DIR" ]; then - HADOOP_MAPRED_HOME=$HADOOP_PREFIX + export HADOOP_MAPRED_HOME=$HADOOP_PREFIX fi fi