请问hbase中hmaster无法启动一般有什么原因

闵开慧 发布于 2014/04/15 15:23
阅读 6K+
收藏 0
请问hbase中hmaster无法启动一般有什么原因
查看log文件报错如下:
2014-04-15 15:10:26,206 INFO org.apache.zookeeper.ClientCnxn: Socket connection established to xinfang229/10.207.0.229:2222, initiating session
2014-04-15 15:10:26,208 INFO org.apache.zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2014-04-15 15:10:26,309 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper exception: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
2014-04-15 15:10:26,309 ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries
2014-04-15 15:10:26,311 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
        at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2115)
                                                                                                                                          2903,1        99%
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
        at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2115)
        at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:152)
加载中
0
zachary124
zachary124

不好意思,说错了,hbase的master是配置在hbase-site.xml里面,检查下hbase.master和hbase.zookeeper.quorum配置里面主机名是否正确

0
zachary124
zachary124

1.检查zookeeper是否正常

2.检查conf下master文件里面配置的主机名是否和master主机名hostname一致

m
miaowmiaowmiaow
conf下有master文件?
0
闵开慧
闵开慧

引用来自“张东昊”的评论

1.检查zookeeper是否正常

2.检查conf下master文件里面配置的主机名是否和master主机名hostname一致

1.检查zookeeper是否正常(请问这里是使用hbase自带的zookeeper还是自己单独安装的zookeeper)
2.检查conf下master文件里面配置的主机名是否和master主机名hostname一致(这里的conf是hadoop里面的conf吧,hbase里面的conf下是没有master文件的)
返回顶部
顶部