hadoop hbase 错误日志级解决

hadoop hbase 错误日志级解决

1,hbase shell 启动错误 类似此错误

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [zip:E:/newbea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_CTS_dir/6ctkfx/war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]

解决:删除slf4j-log4j12-1.5.8.jar!

2,start-hbase.sh 启动错误

localhost: java.net.BindException: Address already in use

开启zookeeper导致,hbase自带zookeeper
解决:关闭zookeeper

3,hbase shell

 
ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times

端口配置不对 需改成9000

4,hbase shell

ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times

原因:2012-08-16 19:55:33,279 INFO org.apache.hadoop.hbase.util.FSUtils: Waiting for dfs to exit safe mode..

解决:safemode leave ! OK!