Skip to content

Commit

Permalink
Switch to stable OpenTSDB release
Browse files Browse the repository at this point in the history
  • Loading branch information
ianunruh committed May 13, 2015
1 parent b494eac commit d42cc03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FLUME_VERSION=1.5.2

ZK_VERSION=3.4.6
HBASE_VERSION=0.98.12
OPENTSDB_VERSION=2.1.0

KIBANA_VERSION=4.0.2
ELASTICSEARCH_BRANCH=1.4
Expand Down
12 changes: 3 additions & 9 deletions install-opentsdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ set -eux
source env.sh

# Install dependencies
apt-get install -yq git openjdk-7-jdk autoconf
apt-get install -yq openjdk-7-jre-headless

# Install OpenTSDB
cd /tmp

# TODO Replace this with package download after release 2.1.0
# Have to use next branch for Grafana compat
git clone git://github.com/OpenTSDB/opentsdb.git -b next
cd opentsdb

./build.sh debian

dpkg -i build/opentsdb-2.1.0/opentsdb-2.1.0_all.deb
curl -sOL https://github.com/OpenTSDB/opentsdb/releases/download/v${OPENTSDB_VERSION}/opentsdb-${OPENTSDB_VERSION}_all.deb
dpkg -i opentsdb-${OPENTSDB_VERSION}_all.deb

# Create tables in HBase
export HBASE_HOME=/opt/hbase
Expand Down

0 comments on commit d42cc03

Please sign in to comment.