Revert Cassandra version to 2 on ubuntu element

The element is configured to use version 3 of cassandra, unfortunatly
trove is actually not compatible with version 3.

Closes-Bug: #1745056
Change-Id: Ic22202eeae6f404433a84def8cf5da0e5dc28c7b
This commit is contained in:
Pierre Blanc 2018-01-23 18:28:24 -05:00
parent 0781e2972d
commit c1b82ffa9c
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ if [ -z "$CASSANDRA_JAVA" ]; then CASSANDRA_JAVA=8; fi
# Set CASSANDRA_RELEASE to override which casandra release to use, defaults to 311x
# For current releases supported, see http://cassandra.apache.org/download/ or
# http://dl.bintray.com/apache/cassandra/dists/
if [ -z "$CASSANDRA_RELEASE" ]; then CASSANDRA_RELEASE=311x; fi
if [ -z "$CASSANDRA_RELEASE" ]; then CASSANDRA_RELEASE=21x; fi
export DEBIAN_FRONTEND=noninteractive
apt-get --allow-unauthenticated install -qy curl

View File

@ -578,7 +578,7 @@ function cmd_set_datastore() {
VERSION="3.2.6"
elif [ "$DATASTORE_TYPE" == "cassandra" ]; then
PACKAGES=${PACKAGES:-"cassandra"}
VERSION="3.11.1"
VERSION="2.1.0"
elif [ "$DATASTORE_TYPE" == "couchbase" ]; then
PACKAGES=${PACKAGES:-"couchbase-server"}
VERSION="2.2.0"