Taiwan Hadoop Forum http://forum.hadoop.tw/ |
|
RHbase安裝問題 http://forum.hadoop.tw/viewtopic.php?f=4&t=38302 |
第 1 頁 (共 1 頁) |
發表人: | GGG [ 2016-01-30, 17:00 ] |
文章主題 : | RHbase安裝問題 |
安裝環境: VB 5.0.4 Ubuntu 15.04 hadoop 2.5.0 hbase 1.0.0 java-7-oracle 設置如下: 一台Master 一台Slave 分別在兩台主機下的VB運行 確定可以互相PING的到對方 安裝RHBASE遇到以下問題 In file included from Hbase.cpp:7:0: Hbase.h:10:24: fatal error: TProcessor.h: 沒有此一檔案或目錄 #include <TProcessor.h> ^ compilation terminated. /usr/lib/R/etc/Makeconf:143: recipe for target 'Hbase.o' failed make: *** [Hbase.o] Error 1 ERROR: compilation failed for package ‘rhbase’ * removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.2/rhbase’ BTW 想再請教一個問題 hive 啟動metastore後就無法進入hive shell 不知為什麼會這樣~"~ 煩請各位先進大大指點迷津QAQ |
發表人: | GGG [ 2016-01-31, 16:50 ] |
文章主題 : | Re: RHbase安裝問題 |
問題已解決 發現是thrift未安裝妥當 重新安裝thrift-0.8.0 並且參照以下步驟 1. Install all Thrift pre-requisites: http://wiki.apache.org/thrift/GettingCentOS5Packages 2. Build Thrfit according to instructions: http://wiki.apache.org/thrift/ThriftInstallation 3. Update PKG_CONFIG_PATH: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/ 4. Verifiy pkg-config path is correct: pkg-config --cflags thrift , returns: -I/usr/local/include/thrift 5. Copy Thrift library sudo cp /usr/local/lib/libthrift-0.8.0.so /usr/lib/ |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |