Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Failed to install rhbase in Cloudera Quickstart 5.7.0

avatar
New Contributor

I successfully installed rmr2 (3.3.1) on Cloudera Quickstart 5.7. I tried to install rhbase and before that tried to install thrift server. I got thrift running with version 0.9.3. However, I can't seem to install rhbase in R. When I tried to install.packages("rhbase_1.2.1.tar.gz", repos=NULL), I am getting errors from g++ indicating that, I think, the .h files from thrift are not installed, and I can't find libthrift.*.so as per installation instructions at https://github.com/RevolutionAnalytics/RHadoop/wiki/user-rhbase-Home.

 

Anyone knows

 

1) what should be in the PKG_CONFIG_PATH variable?
2) what should be in /usr/lib/include or /usr/local/include to install rhbase?
3) how to create libthrift.*.so?

 

Thanks!
Ben

1 ACCEPTED SOLUTION

avatar
Mentor
The RHBase libraries are very dated and advise the use of Thrift 0.8: https://github.com/RevolutionAnalytics/RHadoop/wiki/Installing-RHadoop-on-RHEL#installing-rhbase

The installation proceeds smoothly for me as per instructions if I use Thrift 0.8. Note that Thrift major version upgrades are not guaranteed to be compatible to its clients, so since the library uses the older version you will most likely need to stick to it to ensure it has everything it calls available in the library and set of installed headers.

I installed and tested a simple table creation and existence check that worked OK against the 5.7 HBase Thrift Service; I didn't check it extensively beyond that.

View solution in original post

2 REPLIES 2

avatar
Mentor
The RHBase libraries are very dated and advise the use of Thrift 0.8: https://github.com/RevolutionAnalytics/RHadoop/wiki/Installing-RHadoop-on-RHEL#installing-rhbase

The installation proceeds smoothly for me as per instructions if I use Thrift 0.8. Note that Thrift major version upgrades are not guaranteed to be compatible to its clients, so since the library uses the older version you will most likely need to stick to it to ensure it has everything it calls available in the library and set of installed headers.

I installed and tested a simple table creation and existence check that worked OK against the 5.7 HBase Thrift Service; I didn't check it extensively beyond that.

avatar
New Contributor

Thank you Harsh!  Yes, rhbase 1.2.1 works with thrift 8.0 and I tested on Cloudera Quickstart 5.8.0.