• Articles / Artículos
  • Contact / Contacto
CODEANDO : our blog about technology

Installing OpenTSDB 2.3.0 on Ubuntu 16.04 LTS

28/7/2016

1 Comment

 
This article describes the steps required to install OpenTSDB 2.3.0 on Ubuntu 16.04 LTS

1- Download the latest stable version of OpenTSDB from:

https://github.com/OpenTSDB/opentsdb/releases

2- Install Java 8 on Ubuntu:

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer


3- Configure Java Environment:

$ sudo apt-get install oracle-java7-set-default

4- Set JAVA_HOME:

$ sudo echo "export JAVA_HOME=\"/usr/lib/jvm/java-7-whatever/\"" >> ~/.bashrc

5- Install AUTORECONF

$ sudo apt-get install dh-autoreconf

6- Install gnuplot

$ sudo apt-get install gnuplot

7- Download hbase from:

http://apache.dattatec.com/hbase/stable/

And install:

tar -xzf hbase-1.1.5-bin.tar.gz

8- Edit config file conf/hbase-site.xml and set the following parameters:

<configuration>
<property>
    <name>hbase.rootdir</name>
    <value>file:///home/home/hbase</value>
</property>
<property>

    <name>hbase.zookeeper.property.dataDir</name>
    <value>/home/home/zookeeper</value>
</property>

</configuration>

​9- Run bin/start-hbase.sh (bin/stop-hbase.sh to stop)

10 - Install opentsdb package

sudo dpkg -i opentsdb*.deb

11- Verify settings in /etc/opentsdb/* (vi /etc/opentsdb/*)

12- Prepare environment:

env COMPRESSION=NONE HBASE_HOME=/home/home/Downloads/hbase-1.1.5

./usr/share/opentsdb/tools/create_table.sh


13 - Start opentsdb

(cd /etc/init.d/ && ./opentsdb start)

14 - If you need to stop openstdb:

(cd /etc/init.d/ && ./opentsdb stop)

Enjoy!


This post is published by the developer's team at INNVAS SRL. If you have any comments, suggestions or requests, please feel free To contact us. Thanks for stopping by!

1 Comment
Vijay
9/9/2018 11:24:16 pm

Hi im facing, env: ‘./usr/share/opentsdb/tools/create_table.sh’: No such file or directory error at 12 th step.The path (/usr/share/opentsdb/tools/create_table.sh) is exists and correct.

Reply



Leave a Reply.

    Picture

    Authors

    We are the development team at INNVAS SRL, a nice group of engineers and IT specialists with solid experience in software development on different platforms, most of them custom developments, for different areas and industries. Our experience includes real time systems (automation and control), SCADA systems, drivers and protocols, GIS, image processing, simulation and optimization, web portals, mobile applications, embedded solutions, among others. 
    We enjoy working on different hardware and software platforms (Windows, Linux, QNX, Android, iOS , Raspberry Pi) and technologies (.NET, Java, HTML5,  C / C ++, Python, Matlab, CUDA, among others).

    Categories

    All
    Apache
    Linux
    MySQL
    Netbios
    Networking
    OpenTSDB
    PHP
    QNX
    Raspberry Pi
    Samba
    Ubuntu

    Archives

    July 2016
    June 2016
    May 2013

    Ads

    Consulting

    Picture
    Need support in QNX ?

    Apache on QNX
    Open SSL on QNX
    MySQL on QNX
    PHP 5 on QNX
    Open LDAP on QNX

    Contact us at:


    INNVAS SRL
    Montevideo
    Uruguay
    ​www.innvas.com
    info@innvas.com


    QNX is a trademark of
    ​QNX Software Systems
Powered by Create your own unique website with customizable templates.