当前位置:   article > 正文

HBase异常 -- KeeperErrorCode = ConnectionLoss for /hbase/hbaseid(单机)

keepererrorcode = connectionloss for /hbase/hbaseid

环境信息
虚拟机版本:centos7 、HBase版本1.3.3 、 Hadoop版本:2.6.4 、Zookeeper版本:3.4.5

异常信息
ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts
WARN [main] zookeeper.ZKUtil: hconnection-0x44b294960x0, quorum=hadoop2:2182, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
异常处理
Hadoop、Zookeeper均启动成功;HBase启动成功后,查看进程都在;启动 hbase shell ,抛出如上异常
再次查看HBase相关进程,消失;说明Hbase启动失败,查看后台日志,发现如下关键信息:

java.net.ConnectException: Connection refused

zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attempts

Caused by: org.apache.hadoop.hbase.ZooKeeperConnectionException: master:160000x0, quorum=hadoop2:2182, baseZNode=/hbase Unexpected KeeperException creating base node

Ca

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/426465
推荐阅读
相关标签
  

闽ICP备14008679号