BIGTOP-761. Hadoop install_hadoop.sh should look in YARN build dirs first and 
only then fall back to MR build dirs (Andrew Purtell via rvs)

git-svn-id: https://svn.apache.org/repos/asf/bigtop/trunk@1401053 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/660aa701
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/660aa701
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/660aa701

Branch: refs/heads/master
Commit: 660aa70193cdbda325f40eb8d5b1ac224327d2bf
Parents: 071455d
Author: rvs <rvs@13f79535-47bb-0310-9956-ffa450edef68>
Authored: Mon Oct 22 19:47:32 2012 +0000
Committer: Roman Shaposhnik <[email protected]>
Committed: Fri Nov 2 08:39:24 2012 -0700

----------------------------------------------------------------------
 .../src/common/hadoop/install_hadoop.sh            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/660aa701/bigtop-packages/src/common/hadoop/install_hadoop.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/install_hadoop.sh 
b/bigtop-packages/src/common/hadoop/install_hadoop.sh
index 779eceb..2f3714d 100755
--- a/bigtop-packages/src/common/hadoop/install_hadoop.sh
+++ b/bigtop-packages/src/common/hadoop/install_hadoop.sh
@@ -212,7 +212,7 @@ cp ${BUILD_DIR}/share/hadoop/mapreduce/lib/*.jar 
${MAPREDUCE_DIR}/lib
 install -d -m 0755 ${HDFS_DIR}/lib 
 cp ${BUILD_DIR}/share/hadoop/hdfs/lib/*.jar ${HDFS_DIR}/lib
 install -d -m 0755 ${YARN_DIR}/lib
-cp ${BUILD_DIR}/share/hadoop/mapreduce/lib/*.jar ${YARN_DIR}/lib
+cp ${BUILD_DIR}/share/hadoop/yarn/lib/*.jar ${YARN_DIR}/lib
 chmod 644 ${HADOOP_DIR}/lib/*.jar ${MAPREDUCE_DIR}/lib/*.jar 
${HDFS_DIR}/lib/*.jar ${YARN_DIR}/lib/*.jar
 
 # Install webapps

Reply via email to