我 创建了一个zookeeper集群(3个server),我把其中一个zookeeper停掉了,但是都是过了3分钟了,node 还没有和其他的zookeeper建立新的临时session ,也不能同步数据了 。
在另外一个zookeeper控制台日志如下 :
2015-07-20 10:40:51,167 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:NIOServerCnxnFactory@197] - Accepted socket connection from /10.18.224.102:53 794 2015-07-20 10:40:51,167 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:ZooKeeperServer@812] - Refusing session request for client /10.18.224.102:537 94 as it has seen zxid 0x435 our last zxid is 0x7d client must try another serve r 2015-07-20 10:40:51,167 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:NIOServerCnxn@1001] - Closed socket connection for client /10.18.224.102:5379 4 (no session established for client) 2015-07-20 10:40:53,339 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:NIOServerCnxnFactory@197] - Accepted socket connection from /10.18.224.142:59 861 2015-07-20 10:40:53,339 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:ZooKeeperServer@812] - Refusing session request for client /10.18.224.142:598 61 as it has seen zxid 0x435 our last zxid is 0x7d client must try another serve r 2015-07-20 10:40:53,339 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:NIOServerCnxn@1001] - Closed socket connection for client /10.18.224.142:5986 1 (no session established for client) 2015-07-20 10:40:54,448 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:21 81:NIOServerCnxnFactory@197] - Accepted socket connection from /10.18.224.102:53
原提问者GitHub用户 Bruce2jiang
1、检查zookeeper集群配置 2、检查页面上node配置的zk节点,是否有填全部的3台机器
原回答者GitHub用户agapple
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。