incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1309113 - in /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common: hadoop/install_hadoop.sh hbase/install_hbase.sh oozie/install_oozie.sh
Date Tue, 03 Apr 2012 19:43:11 GMT
Author: rvs
Date: Tue Apr  3 19:43:11 2012
New Revision: 1309113

URL: http://svn.apache.org/viewvc?rev=1309113&view=rev
Log:
BIGTOP-503. remove unsupported upstream launcher scripts from packaging

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hbase/install_hbase.sh
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/oozie/install_oozie.sh

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1309113&r1=1309112&r2=1309113&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
Tue Apr  3 19:43:11 2012
@@ -235,7 +235,7 @@ cp -a ${BUILD_DIR}/sbin/{hadoop-daemon,h
 install -d -m 0755 ${HDFS_DIR}/sbin
 cp -a ${BUILD_DIR}/sbin/{distribute-exclude,refresh-namenodes}.sh ${HDFS_DIR}/sbin
 install -d -m 0755 ${YARN_DIR}/sbin
-cp -a ${BUILD_DIR}/sbin/*yarn* ${BUILD_DIR}/sbin/slaves.sh  ${YARN_DIR}/sbin
+cp -a ${BUILD_DIR}/sbin/{yarn-daemon,yarn-daemons}.sh ${YARN_DIR}/sbin
 install -d -m 0755 ${MAPREDUCE_DIR}/sbin
 cp -a ${BUILD_DIR}/sbin/mr-jobhistory-daemon.sh ${MAPREDUCE_DIR}/sbin
 

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hbase/install_hbase.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hbase/install_hbase.sh?rev=1309113&r1=1309112&r2=1309113&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hbase/install_hbase.sh
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hbase/install_hbase.sh
Tue Apr  3 19:43:11 2012
@@ -118,6 +118,11 @@ cp -a $BUILD_DIR/hbase-webapps $PREFIX/$
 
 cp -a $BUILD_DIR/conf $PREFIX/$CONF_DIR
 cp -a $BUILD_DIR/bin/* $PREFIX/$BIN_DIR
+# Purge scripts that don't work with packages
+for file in rolling-restart.sh graceful_stop.sh local-regionservers.sh \
+            start-hbase.sh stop-hbase.sh local-master-backup.sh ; do
+  rm -f $PREFIX/$BIN_DIR/$file
+done
 
 ln -s $ETC_DIR/conf $PREFIX/$LIB_DIR/conf
 

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/oozie/install_oozie.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/oozie/install_oozie.sh?rev=1309113&r1=1309112&r2=1309113&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/oozie/install_oozie.sh
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/oozie/install_oozie.sh
Tue Apr  3 19:43:11 2012
@@ -199,8 +199,10 @@ install -d -m 0755 ${OOZIE_SERVER_DIR}/b
 failIfNotOK
 install -d -m 0755 ${OOZIE_DATA}
 failIfNotOK
-cp -R ${OOZIE_BUILD_DIR}/bin/*.sh ${OOZIE_SERVER_DIR}/bin
-failIfNotOK
+for file in oozie ooziedb.sh oozied.sh oozie-sys.sh ; do
+  cp ${OOZIE_BUILD_DIR}/bin/$file ${OOZIE_SERVER_DIR}/bin
+  failIfNotOK
+done
 cp -R ${OOZIE_BUILD_DIR}/libtools ${OOZIE_SERVER_DIR}
 failIfNotOK
 



Mime
View raw message