incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1242015 - in /incubator/bigtop/trunk/bigtop-packages/src: common/zookeeper/zoo.cfg deb/zookeeper/hadoop-zookeeper.preinst deb/zookeeper/zookeeper.postinst deb/zookeeper/zookeeper.preinst
Date Wed, 08 Feb 2012 17:54:24 GMT
Author: rvs
Date: Wed Feb  8 17:54:24 2012
New Revision: 1242015

URL: http://svn.apache.org/viewvc?rev=1242015&view=rev
Log:
BIGTOP-392. zookeeper package needs to be updated for 3.4 series

Added:
    incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.preinst
      - copied, changed from r1242013, incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst
Removed:
    incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst
Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/zoo.cfg
    incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.postinst

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/zoo.cfg
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/zoo.cfg?rev=1242015&r1=1242014&r2=1242015&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/zoo.cfg (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/zoo.cfg Wed Feb  8 17:54:24
2012
@@ -26,4 +26,3 @@ syncLimit=5
 dataDir=/var/lib/zookeeper
 # the port at which the clients will connect
 clientPort=2181
-server.0=localhost:2888:3888

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.postinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.postinst?rev=1242015&r1=1242014&r2=1242015&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.postinst (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.postinst Wed Feb  8
17:54:24 2012
@@ -24,6 +24,7 @@ set -e
 case "$1" in
     configure)
         # Install config alternatives
+        chown -R zookeeper:zookeeper /var/log/zookeeper
         update-alternatives  --install /etc/${zookeeper_pkg_name}/conf ${zookeeper_pkg_name}-conf
/etc/${zookeeper_pkg_name}/conf.dist 30
     ;;
 

Copied: incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.preinst (from r1242013,
incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst)
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.preinst?p2=incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.preinst&p1=incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst&r1=1242013&r2=1242015&rev=1242015&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/zookeeper/zookeeper.preinst Wed Feb  8
17:54:24 2012
@@ -37,12 +37,12 @@ case "$1" in
                 adduser \
                   --system \
                   --group \
-                  --home /var/zookeeper \
+                  --home /var/lib/zookeeper \
                   --gecos "ZooKeeper User" \
                   --shell /bin/false \
                   zookeeper >/dev/null
         fi
-	install -d -m 0755 -o zookeeper -g zookeeper /var/log/zookeeper
+        install -d -m 0755 -o zookeeper -g zookeeper /var/log/zookeeper
         install -d -m 0755 -o zookeeper -g zookeeper /var/lib/zookeeper
     ;;
 



Mime
View raw message