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/a5cfe939 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/a5cfe939 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/a5cfe939 Branch: refs/remotes/trunk Commit: a5cfe9399579942ea1e74594c362df0dd86892c6 Parents: 793906e Author: Roman Shaposhnik <[email protected]> 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/a5cfe939/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
