incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1241744 - in /incubator/bigtop/branches/hadoop-0.23/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 02:29:59 GMT
Author: rvs
Date: Wed Feb  8 02:29:59 2012
New Revision: 1241744

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

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

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/zookeeper/zoo.cfg
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/zookeeper/zoo.cfg?rev=1241744&r1=1241743&r2=1241744&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/zookeeper/zoo.cfg (original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/zookeeper/zoo.cfg Wed
Feb  8 02:29:59 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/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.postinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.postinst?rev=1241744&r1=1241743&r2=1241744&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.postinst
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.postinst
Wed Feb  8 02:29:59 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/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.preinst
(from r1241103, incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst)
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.preinst?p2=incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.preinst&p1=incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst&r1=1241103&r2=1241744&rev=1241744&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/hadoop-zookeeper.preinst
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/zookeeper/zookeeper.preinst
Wed Feb  8 02:29:59 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