HBase uses the Class path contains multiple SLF4J bindings. Error solution
Reprinted from: http://www.aboutyun.com/thread-7737-1-1.html
error behavior:
slf4j:class path contains multiple SLF4J bindings.
slf4j:found binding in [jar:file:/usr/hbase/lib/slf4j-log4j12-1.6.4.jar!/org/ Slf4j/impl/staticloggerbinder.class]
slf4j:found binding in [jar:file:/ Usr/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/staticloggerbinder.class]
slf4j:see http://www.slf4j.org/codes.html#multiple_bindings for an Explanation.
Meaning:
A jar package conflict occurred:
:
file:/usr/hbase/lib/ Slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/staticloggerbinder.class
file:/usr/hadoop/share/hadoop/common/lib/ Slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/staticloggerbinder.class
To remove one of the jar packages
Solution:
Use the following command:
/usr/ Hbase/lib RM Slf4j-log4j12-1.7.5.jar
Problem Resolution
hbase0.98.7 uses the Class path contains multiple SLF4J bindings. Error resolution