bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1170914 - in /incubator/bigtop/trunk/bigtop-packages/src: common/hbase/hbase.default deb/hbase/hadoop-hbase.default deb/hbase/rules deb/hive/hadoop-hive.default deb/hive/install_init_scripts.sh rpm/hbase/SOURCES/hbase.default
Date Thu, 15 Sep 2011 01:26:27 GMT
Author: rvs
Date: Thu Sep 15 01:26:27 2011
New Revision: 1170914

URL: http://svn.apache.org/viewvc?rev=1170914&view=rev
Log:
BIGTOP-97. default files need to be normalized and moved to common

Added:
    incubator/bigtop/trunk/bigtop-packages/src/common/hbase/hbase.default
      - copied, changed from r1170377, incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SOURCES/hbase.default
Modified:
    incubator/bigtop/trunk/bigtop-packages/src/deb/hbase/hadoop-hbase.default
    incubator/bigtop/trunk/bigtop-packages/src/deb/hbase/rules
    incubator/bigtop/trunk/bigtop-packages/src/deb/hive/hadoop-hive.default
    incubator/bigtop/trunk/bigtop-packages/src/deb/hive/install_init_scripts.sh
    incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SOURCES/hbase.default

Copied: incubator/bigtop/trunk/bigtop-packages/src/common/hbase/hbase.default (from r1170377,
incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SOURCES/hbase.default)
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hbase/hbase.default?p2=incubator/bigtop/trunk/bigtop-packages/src/common/hbase/hbase.default&p1=incubator/bigtop/trunk/bigtop-packages/src/rpm/hbase/SOURCES/hbase.default&r1=1170377&r2=1170914&rev=1170914&view=diff
==============================================================================
    (empty)

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/hbase/rules
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/hbase/rules?rev=1170914&r1=1170913&r2=1170914&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/hbase/rules (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/hbase/rules Thu Sep 15 01:26:27 2011
@@ -44,6 +44,7 @@ install: build
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+	cp debian/hbase.default debian/hadoop-hbase/etc/default/hbase
 	sh -x debian/install_hbase.sh \
 		--build-dir=. \
 		--doc-dir=usr/share/doc/hadoop-hbase-doc \

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/hive/install_init_scripts.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/hive/install_init_scripts.sh?rev=1170914&r1=1170913&r2=1170914&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/hive/install_init_scripts.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/hive/install_init_scripts.sh Thu Sep 15
01:26:27 2011
@@ -22,8 +22,8 @@ for node in server metastore ; do
     template="debian/service-init.d.tpl"
 
     mkdir -p $service_pkgdir/etc/init.d/ $service_pkgdir/etc/default/ $debdir
+    cp debian/$SRC_PKG-${node}.default  $service_pkgdir/etc/default/$SRC_PKG-$node
     sed -e "s|@HIVE_DAEMON@|$node|" $template > $service_pkgdir/etc/init.d/$SRC_PKG-$node
-    sed -e "s|@HIVE_DAEMON@|$node|" debian/hadoop-hive.default > $service_pkgdir/etc/default/$SRC_PKG-$node

     sed -e "s|@HIVE_DAEMON@|$node|" debian/service-postinst.tpl > $debdir/postinst
     sed -e "s|@HIVE_DAEMON@|$node|" debian/service-postrm.tpl > $debdir/postrm
     chmod 755 $debdir/postinst $debdir/postrm $service_pkgdir/etc/init.d*



Mime
View raw message