1:Hbase启动hbase shell运行命令报Class path contains multiple SLF4J bindings.错误,是因为jar包冲突了,所以对于和hadoop的jar包冲突的...SLF4J: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [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 binding in [jar:file:/home/hadoop/soft/hadoop-.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings
错误表现: SLF4J: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [jar:file:/D:/learn/Java/maven/repository_taotao/org/slf4j/slf4j-log4j12/1.6.4.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/learn/Java/maven/repository_taotao.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/learn/Java/maven/repository_taotao
: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/app/hadoop-2.7.3/share...: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings.
: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/qindongliang/.m2/repository...(1)大多数能够正常打印log机器的out文件输出是: SLF4J: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/qindongliang/.m2/repository...log的机器的out文件输出是: SLF4J: Class path contains multiple SLF4J bindings.
: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings.
: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....列出Sentry中的角色 [root@cdh01 kafka]# kafka-sentry -lr SLF4J: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings.
/hive-log4j.properties SLF4J: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/software/apache-hive-1.1.1.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings.../hive-log4j.properties SLF4J: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/software/apache-hive-1.1.1
contains multiple SLF4J bindings....contains multiple SLF4J bindings....contains multiple SLF4J bindings....contains multiple SLF4J bindings....contains multiple SLF4J bindings.
初始化数据库 [root@node ~]# schematool -initSchema -dbType mysql SLF4J: Class path contains multiple SLF4J.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/soft/hadoop-2.8.3/share.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings...: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/soft/hadoop-2.8.3/share
\bin\start-hbase.cmd 排坑: 启动HBase时出现SLF4J: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [jar:file:/E:/soft_work/hbase-2.0.2/lib/slf4j-log4j12-1.7.25.jar!.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/E:/soft_work/hadoop-2.6.0.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings
: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [jar:file:/usr/lib/hbase/lib/slf4j-log4j12-1.7.5.jar!.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12...: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12
2018-04-27 17:31:43.248 org.slf4j.helpers.Util report System.err: SLF4J: Class path contains multiple...SLF4J bindings. 2018-04-27 17:31:43.250 org.slf4j.helpers.Util report System.err: SLF4J: Found binding...: SLF4J: Found binding in [jar:file:/Users/jack/aipqa/swork.info/swork.info.server/target/swork-info/...: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 2018-04-27 17:31:43.640.../org/slf4j/impl/StaticLoggerBinder.class] 解决方案: 移除其中一个jar包即可。
SLF4J: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [jar:file:/F:/maven-jar-repository/ch/qos/logback/logback-classic/1.1.11/logback-classic.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/F:/maven-jar-repository/.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings...SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] .... ....
配置Hive集成ldap 添加相关配置,保存并重启 用ldap用户hive登录,可以登录成功 [root@cdh1 ~]# beeline SLF4J: Class path contains multiple...SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH...SLF4J: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH
Either remove Logback or the competing implementation SLF4J: Class path contains multiple SLF4J bindings.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/jack/.m2/repository.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/jack/.m2/repository.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/jack/.m2/repository.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings
SLF4J: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/Administrator/..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings...SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] engine listening at port 8443 operator
: Class path contains multiple SLF4J bindings..../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/bigdata/hadoop...: Class path contains multiple SLF4J bindings....创建表格进行测试 hadoop@Master:~$ hive SLF4J: Class path contains multiple SLF4J bindings....: Class path contains multiple SLF4J bindings.
启动程序 1 [yun@mini01 ~]$ start-hbase.sh 2 SLF4J: Class path contains multiple SLF4J bindings. 3 SLF4J.../org/slf4j/impl/StaticLoggerBinder.class] 4 SLF4J: Found binding in [jar:file:/app/hadoop-2.7.6/share...master, logging to /app/hbase/logs/hbase-yun-master-mini01.out 8 SLF4J: Class path contains multiple...SLF4J bindings. 9 SLF4J: Found binding in [jar:file:/app/hbase-2.0.0/lib/slf4j-log4j12-1.7.25.jar!...: Class path contains multiple SLF4J bindings. 4 SLF4J: Found binding in [jar:file:/app/hbase-2.0.0/
测试能否进去hbase命令行 [root@repo ~]# hbase shell SLF4J: Class path contains multiple SLF4J bindings....SLF4J: Found binding in [jar:file:/opt/hbase-1.2.6/lib/slf4j-log4j12-1.7.5.jar!.../org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/hadoop-2.7.4/share/hadoop.../org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings...SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] HBase Shell; enter 'help
领取专属 10元无门槛券
手把手带您无忧上云