I'm new to HBase. I'm running a HBase cluster on 2 machines (1 master on one machine and 1 regionserver on the second).
我新HBase。我在两台机器上运行HBase集群(一台机器上运行一个master,另一台服务器上运行一个regionserver)。
When I start the hbase shell using:
当我开始使用hbase shell时:
bin/hbase shell
and I create a table using this syntax:
我用这种语法创建了一个表
create 't1', 'f1'
I get the following errors:
我得到以下错误:
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
I'm using HBase version 0.98.8-hadoop2 and my Hadoop version is Hadoop 1.0.4. And I'm running this on an Ubuntu Virtual Machine.
我使用的是HBase版本0.98 - Hadoop 2,我的Hadoop版本是Hadoop 1.0.4。我在Ubuntu虚拟机上运行这个。
Can someone please help me here?
有人能帮我一下吗?
Thank you in advance!
提前谢谢你!
1 个解决方案
#1
1
I think HBase-98.8
recent one won't support or won't work on hadoop-1.x.x
. And if you have time just make sure this which all requirements were explained in a book HBase: The Definitive Guide George, Lars
or just have look this site
我认为HBase-98.8最近的一个不支持或不支持hadoop-1.x。x。如果你有时间的话,请确保所有的要求都在HBase这本书中得到了解释:最终指南乔治,拉尔斯或者只是看看这个网站
#1
1
I think HBase-98.8
recent one won't support or won't work on hadoop-1.x.x
. And if you have time just make sure this which all requirements were explained in a book HBase: The Definitive Guide George, Lars
or just have look this site
我认为HBase-98.8最近的一个不支持或不支持hadoop-1.x。x。如果你有时间的话,请确保所有的要求都在HBase这本书中得到了解释:最终指南乔治,拉尔斯或者只是看看这个网站