免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4414 | 回复: 4

[Zookeeper] zookeeper出错 [复制链接]

论坛徽章:
0
发表于 2014-11-20 16:03 |显示全部楼层
本帖最后由 rdcwayx 于 2014-12-29 11:56 编辑

今天,发现hbase的HMaster挂掉了,然后发现是zookeeper的问题,解决过程中重启了zookeeper,然后启动HDFS的时候发现:no zkfc to stop (resourcemanage无法启动),看了zookeeper的日志发现如下错误:
  1. 2014-11-20 14:48:25,194 [myid:5] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for client /xxx.xxx.xx.xx:58138 (no session established for client)
  2. 2014-11-20 14:48:29,181 [myid:5] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /xxx.xxx.xx.xx:58143
  3. 2014-11-20 14:48:29,182 [myid:5] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@812] - Refusing session request for client /xxx.xxx.xx.xx:58143 as it has seen zxid 0x1c00094864 our last zxid is 0x100000000 client must try another server
  4. 2014-11-20 14:48:29,183 [myid:5] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for client /xxx.xxx.xx.xx:58143 (no session established for client)
复制代码
但是用jps查看由进程产生,而且leader与follow均正常:
  1. jps
  2. 53199 NodeManager
  3. 52821 QuorumPeerMain

  4. ./zkServer.sh status
  5. JMX enabled by default
  6. Using config: /opt/class2_3/hadoop/zookeeper-3.4.5/bin/../conf/zoo.cfg
  7. Mode: leader

  8. ./zkServer.sh status
  9. JMX enabled by default
  10. Using config: /opt/class2_3/hadoop/zookeeper-3.4.5/bin/../conf/zoo.cfg
  11. Mode: follower
复制代码
有大神知道是什么原因吗?求指点~~~

论坛徽章:
0
发表于 2014-11-20 16:38 |显示全部楼层
没有人回复吗 ,自己顶一个~~~~回复 1# waq1012030438


   

论坛徽章:
0
发表于 2014-12-30 15:44 |显示全部楼层
是不是端口被占用了,检查一下端口

论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
发表于 2015-08-17 10:17 |显示全部楼层
Refusing session request for client /xxx.xxx.xx.xx:58143 as it has seen zxid 0x1c00094864 our last zxid is 0x100000000 client must try another server

什么情况,zxid变了?

论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
发表于 2015-08-23 20:33 |显示全部楼层
from the log description, it's ok. is there any impact to your application?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP