1:hbase start hbase Shell Run command class path contains multiple slf4j Bindings. Error, because the jar package conflicts, so for the jar package with Hadoop, you can delete the other jar package, if you are not sure whether the deletion is correct, you can copy the other jar package backup or modify the name, to ensure that the operation failed later, you can also retrieve.
slf4j:class path contains multiple slf4j bindings. Slf4j:found bindinginch[jar:file:/home/hadoop/soft/hbase-0.98.6-cdh5.3.6/lib/slf4j-log4j12-1.7.5. Jar!/org/slf4j/impl/staticloggerbinder.class]slf4j:found Bindinginch[jar:file:/home/hadoop/soft/hadoop-2.5.0-cdh5.3.6/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.Slf4j:actual binding isof type [org.slf4j.impl.Log4jLoggerFactory]2018-Geneva- , to: +: .,305WARN [main] util. nativecodeloader:unable to load Native-hadoop Library forYour platform ...usingBuiltin-java classeswhereApplicable
2, my operation is to change the other jar package name, this can also resolve the problem of jar package conflict.
[Email protected] ~]$ cd/home/hadoop/soft/hbase-0.98.6-cdh5.3.6/lib/
[Email protected] lib]$ MV Slf4j-log4j12-1.7.5.jar slf4j-log4j12-1.7.5.jar-copy
Then execute the command in the HBase shell without error;
HBase starts the HBase Shell Run command to the class path contains multiple SLF4J bindings. Error