HBASE中的常见错误
- 错误信息如下: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. - 错误原因:hbase中的jar包和hadoop中的jar包不匹配,从而导致错误出现。
- 解决办法:删除/usr/hbase/lib/slf4j-log4j12-1.6.4.jar或者是删除/usr/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar
- 后遗症:尚未发现。
本文介绍了HBase中出现SLF4J绑定冲突错误的情况,错误原因是HBase和Hadoop中的SLF4J-log4j绑定版本不一致。解决方法为移除其中一个不匹配的jar文件。
833

被折叠的 条评论
为什么被折叠?



