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)

参考技术A 用jps看看hbase的整个集群, hbase的master进程是不是已经存在了。 参考技术B 第二个错误,不影响。是因为没有达到三个serve的标准。 参考技术C 没有听说过

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的主要内容,如果未能解决你的问题,请参考以下文章

tcp/ip启用后无法启动sqlserver2012 SQL Server (MSSQLSERVER)服务

Hadoop安装错误总结

记一次Alluxio HA master启动失败

sql server 2008 R2 无法启动 提示 3417 错误

suse linux 都有哪些日志

解决Hbase启动后,hmaster会在几秒钟后自动关闭(停掉)!!!