I installed HBase 0.92
on Hadoop 1.0.0
and it works fine in full-distributed mode, but an annoying warning keeps appearing. How can I get rid of it?
.......
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. I did not set the $CLASSPATH
variable in hbase-env.sh
. I run Hadoop with start-all.sh
, then start HBase with start-hbase.sh
.
I removed the slf4j-log4j12-1.5.8.jar
in ${hase}/lib/
then the warning never shown again. It should be due to a duplicated class loaded, both hadoop
and hbase
use the same jar
in the same jvm
.
You can give it a try.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With