- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Failed to install rhbase in Cloudera Quickstart 5.7.0
Created 08-11-2016 03:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created 08-13-2016 05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 08-13-2016 05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 08-13-2016 08:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Harsh! Yes, rhbase 1.2.1 works with thrift 8.0 and I tested on Cloudera Quickstart 5.8.0.
