pombreda / appscale

Automatically exported from code.google.com/p/appscale
0 stars 0 forks source link

Upgrade Cassandra to 0.6.1 #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Internally AppScale has been changed to use Cassandra 0.5, but now 0.6 has
been released, adding support for Hadoop and improves performance by 30%.
Would like to upgrade and test accordingly. See here:

https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announc
es3

Original issue reported on code.google.com by shattere...@gmail.com on 14 Apr 2010 at 3:10

GoogleCodeExporter commented 9 years ago
Started. Have changed necessary scratch install documents and have the new 
version
working if the app isn't running on 20000-20002. Will continue to look into the 
problem.

Original comment by shattere...@gmail.com on 20 Apr 2010 at 8:45

GoogleCodeExporter commented 9 years ago
Fixed. Had to switch -Dcom.sun.management.jmxremote.port from 8080 to a 
non-AppScale
port (chose 6666 to keep in line with Voldemort). Developers using the internal
launchpad code should update their system by running the following on each 
machine
(also in appscale/debian/appscale_install_functions.sh, grep for cassandra):

  export APPSCALE_HOME=/root/appscale
  mkdir -p ${APPSCALE_HOME}/AppDB/cassandra
  cd ${APPSCALE_HOME}/AppDB/cassandra
  rm -rf cassandra
  wget http://appscale.cs.ucsb.edu/appscale_files/apache-cassandra-0.6.1-bin.tar.gz
|| exit 1
  tar xzvf apache-cassandra-0.6.1-bin.tar.gz || exit 1
  mv apache-cassandra-0.6.1 cassandra
  rm -f apache-cassandra-0.6.1-bin.tar.gz
  cd ${APPSCALE_HOME}/AppDB/cassandra/cassandra
  chmod +x bin/cassandra
  cp -v ${APPSCALE_HOME}/AppDB/cassandra/templates/cassandra.in.sh
${APPSCALE_HOME}/AppDB/cassandra/cassandra/bin || exit 1
  mkdir -p ${DESTDIR}/var/lib/cassandra

Original comment by shattere...@gmail.com on 21 Apr 2010 at 4:13