You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Lin Wan <wa...@gmail.com> on 2012/02/20 07:30:30 UTC

HBase 0.92 warnings about SLF4J bindings

Hi all,
I installed HBase 0.92 on Hadoop 1.0.0 and it works okey, but some warning boring me. How to solve 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]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
3 servers, 0 dead, 0.6667 average load
     .......

2012-02-20 
-----------
Eric 


Re: HBase 0.92 warnings about SLF4J bindings

Posted by Kavish Ahuja <ka...@yahoo.com>.
first of all clear hdfs folder which you created while installing hadoop... its
the same folder which contains zoopkeeper files. 
and then delete the file " slf4j-log4j12-1.5.8.jar "
If you dont want to delete then simple move it outside the hbase folder to some
other place.
/home/ahuja/hbase/lib contains  slf4j-log4j12-1.5.8.jar 

format namenode and then START hbase.
 then after running the shell , list all tables and it is should work fine.

Cheers,
Kavish


Re: HBase 0.92 warnings about SLF4J bindings

Posted by Stack <st...@duboce.net>.
On Sun, Feb 19, 2012 at 10:30 PM, Lin Wan <wa...@gmail.com> wrote:
> Hi all,
> I installed HBase 0.92 on Hadoop 1.0.0 and it works okey, but some warning boring me. How to solve 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]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> 3 servers, 0 dead, 0.6667 average load
>     .......
>
> 2012-02-20
> -----------
> Eric
>


How have you set your CLASSPATH?  You have hadoop on the hbase
CLASSPATH?  Try removing one of the slf4js.
St.Ack