解决Hbase0.98.2-log日志文件中Class path contains multiple SLF4J bindings.

来源:互联网 发布:岁月神偷 网络歌手 编辑:程序博客网 时间:2024/06/05 15:07

问题是在Master上启动hbase后,在日志文件中出现

SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/xuhui/hadoop-2.2.0/hbase-0.98.2-hadoop2/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/xuhui/hadoop-2.2.0/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 is of type [org.slf4j.impl.Log4jLoggerFactory]

解决办法:将hbase中master的lib/下的slf4j-log4j12-1.7.5.jar删除,与/home/xuhui/hadoop-2.2.0/share/hadoop/common/lib下的jar重复包含了

0 0
原创粉丝点击