ITPub博客

首页 > 大数据 > 数据分析 > hbase multiple SLF4J bindings 警告

hbase multiple SLF4J bindings 警告

数据分析 作者:guoge 时间:2014-12-02 23:33:10 0 删除 编辑

原文是:http://blog.sina.com.cn/s/blog_866c5a5d0101ig8j.html

 先安装Hadoop 版本2.5.1 ,后安装Hbase版本0.99.1  启动Hbase 后,有时在控制台,有时只在日志文件中显示:


SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/opt/modules/hbase-0.99.1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/opt/modules/hadoop/hadoop-2.5.1/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]

 

 如果只是把/opt/modules/hadoop/hadoop-2.5.1/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar  复制到上一层目录(/opt/modules/hadoop/hadoop-2.5.1/share/hadoop/common/)

也报上面的信息。

只有把这个文件继续往上复制一层目录。 

有时文件slf4j-log4j12-1.7.5.jar 复制到/opt/modules/hadoop/hadoop-2.5.1/share/hadoop/common/ 目录, 启动hbase 不报错,但在日志文件中会显示这个错。 启动hbase shell  后,执行命令特别慢。

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9036/viewspace-1354586/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: PLSQL中的DOM 解析
请登录后发表评论 登录
全部评论

注册时间:2007-12-12

  • 博文量
    72
  • 访问量
    258685