How-to resolve hbase shutdown caused by "KeeperErrorCode = ConnectionLoss for /hbase"

本文档详细记录了解决HBase因Zookeeper连接丢失错误而关闭的问题。错误日志显示Zookeeper创建失败,原因在于/Zhbase路径的ConnectionLoss。通过检查发现集群中的三个Zookeeper节点myid配置相同,均为1。解决方案是根据zoo.cfg配置文件更新每个节点的myid为1,2,3,并重启Zookeeper服务,从而修复了HBase的问题。" 120370007,7371989,使用GitLab CI/CD构建前端微服务单镜像方案,"['devops', 'ci/cd', '微服务']
摘要由CSDN通过智能技术生成
Error log:
2015-06-23 17:35:05,995 WARN  [main] zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=slave.chff.dc:2183,master.chff.dc:2183,slave01.chff.dc:2183, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
2015-06-23 17:35:05,995 ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts
2015-06-23 17:35:05,997 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:2044)
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值