Install OpenTSDB on Cloudera 5 (Hadoop) CentOS 6.5

735 views
Skip to first unread message

west coast

unread,
May 21, 2014, 8:10:05 PM5/21/14
to open...@googlegroups.com

I am having a bit of difficulty getting OpenTSDB installed on my Cloudera Single Node VM CDH 5.

 

I am hoping to test on the VM, then move to our 5 node cluster Dev servers (CentOS 6.5) and then to AWS in the cloud.


I am following these instructions 

 

http://opentsdb.net/docs/build/html/installation.html#id1


I can telnet to Zookeeper


This goes well

git clone git://github.com/OpenTSDB/opentsdb.git

cd opentsdb

./build.sh

 

But here is where we go wrong….


env COMPRESSION=NONE HBASE_HOME=path/to/hbase-0.94.X ./src/create_table.sh

 

Error 

env: ./src/create_table.sh: No such file or directory

 

I have searched the file system and the only HBase folders I have are /etc/HBase 

 

I have also used this page 

 

https://github.com/OpenTSDB/opentsdb/wiki/Installation-on-Cloudera-Virtual-Machine

 

and it shows HBase to be in  /usr/lib/hbase 

 

“env COMPRESSION=none HBASE_HOME=/usr/lib/hbase ./src/create_table.sh

 

/usr/lib/hbase   I don’t have an HBase folder in /usr/lib nor do I have any folders (directories) named HBase-0.94 

 

The only HBase I have is in /etc so should I just change it to point to 


“env COMPRESSION=none HBASE_HOME=/etc/hbase ./src/create_table.sh


thx! 

 

ManOLamancha

unread,
May 22, 2014, 6:19:36 PM5/22/14
to open...@googlegroups.com
Can you run hbase shell via 'hbase shell'? Also check for /usr/bin/hbase. I haven't played with that VM so it may need Hbase to be installed. You could try the package manager to see if "hbase-master" exists. 

west coast

unread,
May 30, 2014, 12:16:30 AM5/30/14
to open...@googlegroups.com
Yes I can run HBase Shell.

[root@localhost opentsdb]# hbase shell
14/05/29 21:08:09 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.96.1.1-cdh5.0.0, rUnknown, Thu Mar 27 23:03:17 PDT 2014

hbase(main):001:0>



The only place I can find an HBase dir is /etc/hbase 

[root@localhost opentsdb]# env COMPRESSION=NONE HBASE_HOME=/etc/hbase ./src/create_table.sh
./src/create_table.sh: line 35: /etc/hbase/bin/hbase: No such file or directory
./src/create_table.sh: line 35: exec: /etc/hbase/bin/hbase: cannot execute: No such file or directory


I currently have 

Hadoop CDH 4 single node VM
Hadoop CDH 5 Single node VM

5 server Centos 6.5 CDH 5 Cluster 
AWS 5 Server haddop CDH 5 Cluster 

All of them only have /etc/hbase
None of them have /usr/bin/hbase \

I am at a lose...  Where is HBASE in cloudera 
env COMPRESSION=NONE HBASE_HOME=?????

Kyle Brandt

unread,
May 30, 2014, 11:00:50 AM5/30/14
to open...@googlegroups.com

west coast

unread,
May 30, 2014, 11:18:45 AM5/30/14
to open...@googlegroups.com
I will take a look! thx for replying 

west coast

unread,
May 30, 2014, 1:49:30 PM5/30/14
to open...@googlegroups.com

env COMPRESSION=NONE HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47 /root/opentsdb/src/create_table.sh

AWESOME! I have now created the tables!!! 

thx Kyle Brandt !!! 

the key was understanding  "HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47"

I am still working on it, i was just so excited to get this far!! thx!!
Reply all
Reply to author
Forward
0 new messages