2014-12-08 70 views
0

我是HBase的新手。我在兩臺機器上運行HBase集羣(一臺主機上有一臺主機,另一臺機器上有一臺區域服務器)。HBase集羣:org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V

當我使用啓動HBase的外殼:

bin/hbase shell 

,我使用此語法創建一個表:

create 't1', 'f1' 

我收到以下錯誤:

SLF4J: Class path contains multiple SLF4J bindings. 
SLF4J: Found binding in [jar:file:/home/hduser/hbase-0.98.8-hadoop2/lib/slf4j-log4j12-  1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: Found binding in [jar:file:/usr/local/hadoop/hadoop-1.0.4/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 

ERROR: org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V 

我m使用HBase版本0.98.8-hadoop2,我的Hadoop版本是Hadoop 1.0.4。我在Ubuntu虛擬機上運行它。

有人可以幫我嗎?

預先感謝您!

回答

1

我認爲HBase-98.8最近一個不會支持或不會在hadoop-1.x.x上工作。如果您有足夠的時間確保所有要求都在書籍HBase: The Definitive Guide George, Lars中解釋過,或者只是看看這個site

+0

哪個版本的'Hadoop'將運行在HBase-0.98.8上? – user2201650 2014-12-09 19:41:09

+0

Hbase-0.98.8支持hadoop-2.2.x以上版本,更好的下載hadoop的最新穩定版本。 – 2014-12-10 03:55:35