2015-07-05 39 views
0

我在我的ubuntu 64位系統上安裝了hbase。我可以運行hbase start script而沒有任何問題,下面是結果。無法在獨立模式下啓動Hbase shell

[email protected]:/usr/local/hbase$ ./bin/start-hbase.sh 
starting master, logging to /usr/local/hbase/bin/../logs/hbase-hduser-master-vignesh-ubuntu.out 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 

但是當我啓動我的hbase shell時,它會拋出錯誤。

[email protected]:/usr/local/hbase$ ./bin/hbase shell 
NativeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 
    initialize at /usr/local/hbase/bin/../lib/ruby/hbase/hbase.rb:42 
     (root) at /usr/local/hbase/bin/../bin/hirb.rb:118 

我使用的JDK版本是1.8。路徑:/usr/lib/java/jdk1.8.0_31

我試過谷歌搜索,但沒有運氣。有人能幫我解決這個問題嗎?

+0

正式支持java 1.8的HBase。你可以嘗試使用java1.7嗎? –

回答