hbase启动错误:master日志:/hbase/master already exists
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hbase启动错误:master日志:/hbase/master already exists相关的知识,希望对你有一定的参考价值。
master日志错误提示:ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node /hbase/master already exists and this is not a retry
zookeeper日志错误提示:ERROR org.apache.zookeeper.server.quorum.QuorumPeerConfig: Invalid configuration, only one server specified (ignoring)
HBASE启动失败,Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
Master日志错误:
2015-12-02 06:34:32,394 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:1988)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:203)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2002)
Caused by: java.lang.NoClassDefFoundError: com/amazonaws/services/s3/AmazonS3
slave日志错误:
2015-12-02 06:34:32,285 ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting
java.lang.RuntimeException: Failed construction of Regionserver: class org.apache.hadoop.hbase.regionserver.HRegionServer
at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2496)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:64)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2511)
Caused by: java.lang.reflect.InvocationTargetException
解决方法:一般遇到这个问题的,可能都是用hadoop下的jar包覆盖了hbase下的hadoop*.jar
我用的hbase是1.1.3 ,不能覆盖,明显2.6.0的hadoop下是没有client这个客户端jar包的,而1.1.3的lib下有。
以上是关于hbase启动错误:master日志:/hbase/master already exists的主要内容,如果未能解决你的问题,请参考以下文章
解决Hbase启动后,hmaster会在几秒钟后自动关闭(停掉)!!!
启动hbase时出现HMaster Aborted错误(HMaster启动之(HMaster线程的调用))
HBase 报错 ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
hbase启动错误,masterLOG,Failed construction of Master Causedby:java.net.BindException: 无法指定被