Merge "Fix Cassandra element"

This commit is contained in:
Zuul 2018-01-26 06:10:47 +00:00 committed by Gerrit Code Review
commit d5186ca06f
2 changed files with 8 additions and 4 deletions

View File

@ -15,16 +15,20 @@ export DEBIAN_FRONTEND=noninteractive
apt-get --allow-unauthenticated install -qy curl
echo "deb http://www.apache.org/dist/cassandra/debian ${CASSANDRA_RELEASE} main" >> /etc/apt/sources.list.d/cassandra.sources.list
curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
apt-get update
apt-get -y update
apt-get --allow-unauthenticated install -qy openjdk-${CASSANDRA_JAVA}-jdk expect python-dev
apt-get --allow-unauthenticated install -qy libxml2-dev ntp mc
apt-get --allow-unauthenticated install -qy libxml2-dev ntp mc libev4 libev-dev
apt-get --allow-unauthenticated install -qy libxslt1-dev python-pexpect
apt-get --allow-unauthenticated install -qy python-migrate build-essential
apt-get --allow-unauthenticated install -qy python-setuptools python-pip python-snappy
apt-get --allow-unauthenticated install -qy cassandra
apt-get --allow-unauthenticated install -qy cassandra cassandra-tools
pip2 install Cython
# The Python Driver 2.0 for Apache Cassandra.
pip2 install cassandra-driver
# Sorted sets support for the Python driver.
pip2 install blist

View File

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