From e8ea3fdb526f0a6ae1ac9eef9a661a27d1a8d879 Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Wed, 16 May 2012 04:16:37 +0000 Subject: [PATCH] Merge -r 1338999:1339000 from trunk to branch. FIXES: MAPREDUCE-4250 git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1339002 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/CHANGES.txt | 3 +++ hadoop-mapreduce-project/hadoop-yarn/bin/yarn-config.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 879589e833d..07b0cbf5fb0 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -183,6 +183,9 @@ Release 2.0.0 - UNRELEASED MAPREDUCE-4148. MapReduce should not have a compile-time dependency on HDFS. (tomwhite) + MAPREDUCE-4250. hadoop-config.sh missing variable exports, causes Yarn + jobs to fail with ClassNotFoundException MRAppMaster. (phunt via tucu) + Release 0.23.3 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-mapreduce-project/hadoop-yarn/bin/yarn-config.sh b/hadoop-mapreduce-project/hadoop-yarn/bin/yarn-config.sh index 934a461b645..275869f7365 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/bin/yarn-config.sh +++ b/hadoop-mapreduce-project/hadoop-yarn/bin/yarn-config.sh @@ -49,7 +49,7 @@ then fi # Allow alternate conf dir location. -YARN_CONF_DIR="${HADOOP_CONF_DIR:-$YARN_HOME/conf}" +export YARN_CONF_DIR="${HADOOP_CONF_DIR:-$YARN_HOME/conf}" #check to see it is specified whether to use the slaves or the # masters file