diff --git a/recipes/cassandra.properties b/recipes/cassandra.properties index ae7a40a0..b14ccbcb 100644 --- a/recipes/cassandra.properties +++ b/recipes/cassandra.properties @@ -39,5 +39,5 @@ whirr.instance-templates=3 cassandra # whirr.public-key-file=${whirr.private-key-file}.pub # Expert: specify the version of Cassandra to install. -#whirr.cassandra.version.major=1.0.8 -#whirr.cassandra.tarball.url=http://www.apache.org/dist/cassandra/1.0.8/apache-cassandra-1.0.8-bin.tar.gz +#whirr.cassandra.version.major=1.1.2 +#whirr.cassandra.tarball.url=http://www.apache.org/dist/cassandra/1.1.2/apache-cassandra-1.1.2-bin.tar.gz diff --git a/services/cassandra/pom.xml b/services/cassandra/pom.xml index 0ec9ae8f..6519074e 100644 --- a/services/cassandra/pom.xml +++ b/services/cassandra/pom.xml @@ -76,7 +76,7 @@ org.apache.cassandra cassandra-all - 1.0.8 + 1.1.2 org.apache.cassandra.deps diff --git a/services/cassandra/src/main/resources/functions/install_cassandra.sh b/services/cassandra/src/main/resources/functions/install_cassandra.sh index a65133d4..a5c4c6b7 100644 --- a/services/cassandra/src/main/resources/functions/install_cassandra.sh +++ b/services/cassandra/src/main/resources/functions/install_cassandra.sh @@ -16,8 +16,8 @@ # function install_cassandra() { - C_MAJOR_VERSION=${1:-1.0} - C_TAR_URL=${2:-http://archive.apache.org/dist/cassandra/1.0.8/apache-cassandra-1.0.8-bin.tar.gz} + C_MAJOR_VERSION=${1:-1.1} + C_TAR_URL=${2:-http://apache.osuosl.org/cassandra/1.1.2/apache-cassandra-1.1.2-bin.tar.gz} c_tar_file=`basename $C_TAR_URL` c_tar_dir=`echo $c_tar_file | awk -F '-bin' '{print $1}'`