# # Copyright 2016 FUJITSU LIMITED # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # #    http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. # enable_service monasca-analytics # # Monasca infrastructure services # # databases # MySQL is already enabled in devstack # # Dependent Software Versions # # spark vars SPARK_DIRECTORIES=("/var/spark" "/var/log/spark" "/var/run/spark/work" "/etc/spark/conf" "/etc/spark/init" ) JDK_PKG="openjdk-7-jre-headless openjdk-7-jdk" MAVEN="apache-maven-3.3.9" MAVEN_TARBAL="$MAVEN-bin.tar.gz" MAVEN_URL="ftp://mirror.reverse.net/pub/apache/maven/maven-3/3.3.9/binaries/$MAVEN_TARBAL" SCALA_VERSION=${SCALA_VERSION:-2.11} SCALA_MIN_VERSION=${SCALA_MIN_VERSION:-.7} SCALA="scala-${SCALA_VERSION}${SCALA_MIN_VERSION}.deb" SCALA_URL="https://downloads.typesafe.com/scala/${SCALA_VERSION}${SCALA_MIN_VERSION}/$SCALA" KEYID=642AC823 SPARK_DIR="/opt/spark" SPARK_DOWNLOAD="$SPARK_DIR/download" SPARK_VERSION=${SPARK_VERSION:-1.6.1} SPARK_TARBALL_NAME="spark-${SPARK_VERSION}.tgz" SPARK_URL="http://apache.claz.org/spark/spark-$SPARK_VERSION/$SPARK_TARBALL_NAME" BASE_KAFKA_VERSION=${BASE_KAFKA_VERSION:-0.9.0.0} KAFKA_DIR="/opt/kafka" KAFKA_DOWNLOAD="$KAFKA_DIR/download" KAFKA_VERSION=${KAFKA_VERSION:-${SCALA_VERSION}-${BASE_KAFKA_VERSION}} KAFKA_TARBALL="kafka_$KAFKA_VERSION.tgz" KAFKA_URL="http://ftp.riken.jp/net/apache/kafka/$BASE_KAFKA_VERSION/$KAFKA_TARBALL" #KAFKA_URL="http://apache.arvixe.com/kafka/$BASE_KAFKA_VERSION/$KAFKA_TARBALL" KAFKA_URL="http://ftp.riken.jp/net/apache/kafka/$BASE_KAFKA_VERSION/$KAFKA_TARBALL"