我在Hadoop 1.0.0
上安装了HBase 0.92
,它在全分布模式下工作正常,但一个烦人的警告不断出现。我怎样才能摆脱它?关于SLF4J绑定的HBase 0.92警告
.......
hbase(main):001:0> status
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/opt/hbase-0.92.0/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/opt/hadoop-1.0.0/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
3 servers, 0 dead, 0.6667 average load
.......
P.S.我没有在hbase-env.sh
中设置$CLASSPATH
变量。我用start-all.sh
运行Hadoop,然后用start-hbase.sh
启动HBase。
是的,它的工作,谢谢 – Eric 2012-08-01 01:07:01
它为我工作,谢谢。 – Burhan 2014-10-14 11:25:12