HBase starts the HBase Shell Run command to the class path contains multiple SLF4J bindings. Error

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.