Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1210744
  • 博文数量: 259
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2518
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-13 16:12
个人简介

科技改变世界,技术改变人生。

文章分类

全部博文(259)

分类: HADOOP

2015-07-20 13:37:18

运行hbase的命令出现如下提示,意思是hadoop和hbase都存在slf4j-log4j12***.jar包,只是版本不同,需要删除一个即可,原则删除低版本。
我删除了/usr/local/hadoop/lib/slf4j-log4j12-1.4.3.jar

hbase(main):001:0> list
TABLE                                                                                                                           
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hbase/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See for an explanation.
hbase_fudk                                                                                                                      
1 row(s) in 2.0100 seconds

=> ["hbase_fudk"]

删除后正常了
hbase(main):001:0> list
TABLE                                                                                                                           
hbase_fudk                                                                                                                      
1 row(s) in 1.9840 seconds

=> ["hbase_fudk"]
hbase(main):002:0>
阅读(2127) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~