分享

CDH5.9.1 hbase 连接ZK错误

墨默滴 发表于 2017-1-22 14:41:07 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 4 10381
本帖最后由 墨默滴 于 2017-1-22 14:48 编辑

[mw_shl_code=bash,true]2017-01-20 22:21:20,829 ERROR org.apache.hadoop.hbase.master.ActiveMasterManager: master:60000-0x358d73ec1681520, quorum=master-node-1:2181,master-node-2:2181,master-node-3:2181, baseZNode=/hbase Error deleting our own master address node
org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/master
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(RecoverableZooKeeper.java:359)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(ZKUtil.java:623)
        at org.apache.hadoop.hbase.zookeeper.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:148)
        at org.apache.hadoop.hbase.master.ActiveMasterManager.stop(ActiveMasterManager.java:267)
        at org.apache.hadoop.hbase.master.HMaster.stopServiceThreads(HMaster.java:1168)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:1088)
        at java.lang.Thread.run(Thread.java:745)
2017-01-20 22:21:20,830 INFO org.apache.hadoop.hbase.ipc.RpcServer: Stopping server on 60000
2017-01-20 22:21:20,831 INFO org.apache.hadoop.hbase.ipc.RpcServer: RpcServer.listener,port=60000: stopping
2017-01-20 22:21:20,870 INFO org.apache.hadoop.hbase.ipc.RpcServer: RpcServer.responder: stopped
2017-01-20 22:21:20,871 INFO org.apache.hadoop.hbase.ipc.RpcServer: RpcServer.responder: stopping

2017-01-20 22:21:35,874 ERROR org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: ZooKeeper delete failed after 4 attempts
2017-01-20 22:21:35,874 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: Failed deleting my ephemeral node
org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/rs/master-node-1,60000,1484562675567
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:873)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.delete(RecoverableZooKeeper.java:178)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNode(ZKUtil.java:1236)[/mw_shl_code]


一个master,一个regionServer报同样的错误
重启后运行正常。过段时间 就出错。

求助大神

已有(4)人评论

跳转到指定楼层
arsenduan 发表于 2017-1-22 15:27:09
NTP安装了吗?
时间不同步,可能产生上述问题
回复

使用道具 举报

墨默滴 发表于 2017-1-22 15:38:57
本帖最后由 墨默滴 于 2017-1-22 16:15 编辑
arsenduan 发表于 2017-1-22 15:27
NTP安装了吗?
时间不同步,可能产生上述问题

谢谢您的提醒,刚去看了下 ntp服务挂了
回复

使用道具 举报

arsenduan 发表于 2017-1-22 15:47:27

ntp安装是否生效,重点是集群时间是否一致
回复

使用道具 举报

langke93 发表于 2017-1-22 16:08:22
原因比较多,下面两篇都是类似的问题
hbase日志出现Session expired异常排查方法
Hregionserver异常退出






回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条