Module for accessing OpenTSDB data through Spark.
#Installation. ##On your client (SparkDriver)
Execute the following in your terminal
- wget https://github.com/achak1987/opentsdb-spark/archive/master.zip
- unzip master.zip
- cd opentsdb-spark-master
- sbt eclipse (if you dont have sbt, it can be installed from www.scala-sbt.org)
- The project can be now imported into eclipse
##On your cluster.
For each node in the cluster add the following into your com file
-
nano /path/to/your/spark/dir/bin/compute-classpath.sh
-
copy the following to the end of the file. Before echo "$CLASSPATH"\ export HBASE_HOME=/path/to/your/hbase/dir (if you haven't already defined the $HBASE_HOME env var)
for f in $HBASE_HOME/lib/*.jar do CLASSPATH="$CLASSPATH:$f" done
#System Info Apache Hadoop 2.2.0, Apache Hbase 0.98.3-hadoop2, Apache Spark 1.0.1, Scala 2.10.4