You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by to...@apache.org on 2010/12/13 20:24:45 UTC

svn commit: r1045327 - in /incubator/whirr/trunk: CHANGES.txt scripts/apache/cassandra/install scripts/apache/zookeeper/install

Author: tomwhite
Date: Mon Dec 13 19:24:44 2010
New Revision: 1045327

URL: http://svn.apache.org/viewvc?rev=1045327&view=rev
Log:
WHIRR-159. Cassandra and ZooKeeper fail on Ubuntu on Rackspace.

Modified:
    incubator/whirr/trunk/CHANGES.txt
    incubator/whirr/trunk/scripts/apache/cassandra/install
    incubator/whirr/trunk/scripts/apache/zookeeper/install

Modified: incubator/whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/CHANGES.txt?rev=1045327&r1=1045326&r2=1045327&view=diff
==============================================================================
--- incubator/whirr/trunk/CHANGES.txt (original)
+++ incubator/whirr/trunk/CHANGES.txt Mon Dec 13 19:24:44 2010
@@ -34,6 +34,8 @@ Trunk (unreleased changes)
     WHIRR-151. Credentials not set correctly for Hadoop service configure step.
     (tomwhite)
 
+    WHIRR-159. Cassandra and ZooKeeper fail on Ubuntu on Rackspace. (tomwhite)
+
 Release 0.2.0 - 2010-11-04
 
   NEW FEATURES

Modified: incubator/whirr/trunk/scripts/apache/cassandra/install
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/scripts/apache/cassandra/install?rev=1045327&r1=1045326&r2=1045327&view=diff
==============================================================================
--- incubator/whirr/trunk/scripts/apache/cassandra/install (original)
+++ incubator/whirr/trunk/scripts/apache/cassandra/install Mon Dec 13 19:24:44 2010
@@ -62,6 +62,7 @@ cp $CASSANDRA_HOME/conf/storage-conf.xml
 sed -i -e "s|CASSANDRA_CONF=\$cassandra_home/conf|CASSANDRA_CONF=$C_CONF_DIR|" $CASSANDRA_HOME/bin/cassandra.in.sh
 
 # Ensure Cassandra starts on boot
+sed -i -e "s/exit 0//" /etc/rc.local
 cat >> /etc/rc.local <<EOF
 $CASSANDRA_HOME/bin/cassandra > /dev/null 2>&1 &
 EOF
\ No newline at end of file

Modified: incubator/whirr/trunk/scripts/apache/zookeeper/install
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/scripts/apache/zookeeper/install?rev=1045327&r1=1045326&r2=1045327&view=diff
==============================================================================
--- incubator/whirr/trunk/scripts/apache/zookeeper/install (original)
+++ incubator/whirr/trunk/scripts/apache/zookeeper/install Mon Dec 13 19:24:44 2010
@@ -68,6 +68,7 @@ sed -i -e "s|log4j.rootLogger=INFO, CONS
     $ZK_CONF_DIR/log4j.properties
     
 # Ensure ZooKeeper starts on boot
+sed -i -e "s/exit 0//" /etc/rc.local
 cat >> /etc/rc.local <<EOF
 ZOOCFGDIR=$ZK_CONF_DIR $ZOOKEEPER_HOME/bin/zkServer.sh start > /dev/null 2>&1 &
 EOF
\ No newline at end of file