开发者社区> 问答> 正文

我 创建了一个zookeeper集群(3个server),我把其中一个zookeeper停掉了

我 创建了一个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

展开
收起
大圣东游 2023-06-21 17:21:07 102 0
1 条回答
写回答
取消 提交回答
  • 1、检查zookeeper集群配置 2、检查页面上node配置的zk节点,是否有填全部的3台机器

    原回答者GitHub用户agapple

    2023-06-21 18:29:31
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《MSE 微服务网关》 立即下载
微服务引擎 MSE 治理中心重磅发布 立即下载
阿里云微服务引擎 MSE 2.0 线上发布 立即下载