[apache/dubbo]zookeeper和dubbo admin 频繁的发布日志

2024-05-30 489 views
7

启动dubbo admin 就会使zookeeper和dubbo admin一直打印日志,直至tomcat超时启动失败。

以下是zookeeper的日志输出

2016-10-01 22:11:37,760 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3c6 zxid:0x121d txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.hc.thrift.GroupService%252525252525252525252525252525252525252525
25252525252525252525252525252525252525252525252525252525252525252525252525252525
252525252525252525252525252525252525252525252525252525252525252524Iface/provider
s Error:KeeperErrorCode = NodeExists for /dubbo/com.hc.thrift.GroupService%25252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252524Iface/providers
2016-10-01 22:11:37,787 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3c9 zxid:0x121e txntype:-1 reqpath:n/a Error P
ath:/dubbo Error:KeeperErrorCode = NodeExists for /dubbo
2016-10-01 22:11:37,810 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3ca zxid:0x121f txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.hc.thrift.GroupService%252525252525252525252525252525252525252525
25252525252525252525252525252525252525252525252525252525252525252525252525252525
252525252525252525252525252525252525252525252525252525252525252524Iface Error:Ke
eperErrorCode = NodeExists for /dubbo/com.hc.thrift.GroupService%252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
5252525252524Iface
2016-10-01 22:11:37,835 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3cb zxid:0x1220 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.hc.thrift.GroupService%252525252525252525252525252525252525252525
25252525252525252525252525252525252525252525252525252525252525252525252525252525
252525252525252525252525252525252525252525252525252525252525252524Iface/consumer
s Error:KeeperErrorCode = NodeExists for /dubbo/com.hc.thrift.GroupService%25252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252524Iface/consumers
2016-10-01 22:11:37,866 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3ce zxid:0x1221 txntype:-1 reqpath:n/a Error P
ath:/dubbo Error:KeeperErrorCode = NodeExists for /dubbo
2016-10-01 22:11:37,894 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3cf zxid:0x1222 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.hc.thrift.GroupService%252525252525252525252525252525252525252525
25252525252525252525252525252525252525252525252525252525252525252525252525252525
252525252525252525252525252525252525252525252525252525252525252524Iface Error:Ke
eperErrorCode = NodeExists for /dubbo/com.hc.thrift.GroupService%252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
5252525252524Iface
2016-10-01 22:11:37,928 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@645] - Got user-level KeeperException when processing sessionid:0x1
577f56e014002f type:create cxid:0x3d0 zxid:0x1223 txntype:-1 reqpath:n/a Error P
ath:/dubbo/com.hc.thrift.GroupService%252525252525252525252525252525252525252525
25252525252525252525252525252525252525252525252525252525252525252525252525252525
252525252525252525252525252525252525252525252525252525252525252524Iface/routers
Error:KeeperErrorCode = NodeExists for /dubbo/com.hc.thrift.GroupService%2525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
52525252525252525252525252525252525252525252525252525252525252525252525252525252
525252525252525252524Iface/routers
2016-10-01 22:11:37,950 [myid:] - INFO  [ProcessThread(sid:0 cport:-1)::PrepRequ
estProcessor@494] - Processed session termination for sessionid: 0x1577f56e01400
2f

回答

4

问题解决了吗? 我也遇到同样的问题了

2

遇到了同样问题,求解,十分感谢!

4

我们也有这样的问题, zk 版本号 zookeeper-3.4.6 求解,十分感谢!

3

考虑一台机器可能起了多个zk,节点冲突了

1

@coolspring1293 ,多个zk为什么会冲突呢?

0

同问,我们这边遇到的情况也是,dubbo-admin启动过程中,tomcat日志不断刷 Subscribe: admin: //*** 订阅服务的日志。一直起不来,直到过几分钟后,日志就一直刷INFO zkclient.ZkClient - zookeeper state changed (Disconnected) INFO zkclient.ZkClient - zookeeper state changed (SyncConnected)

宕机前的日志: INFO zookeeper.ZookeeperRegistry - [DUBBO] Subscribe: admin://**** INFO zkclient.ZkClient - zookeeper state changed (Disconnected) INFO zkclient.ZkClient - zookeeper state changed (SyncConnected) INFO zkclient.ZkClient - zookeeper state changed (Disconnected) INFO zkclient.ZkClient - zookeeper state changed (SyncConnected)

2

同问,我们这边遇到的情况也是,dubbo-admin启动过程中,tomcat日志不断刷 Subscribe: admin: //*** 订阅服务的日志。一直起不来,直到过几分钟后,日志就一直刷INFO zkclient.ZkClient - zookeeper state changed (Disconnected) INFO zkclient.ZkClient - zookeeper state changed (SyncConnected)

宕机前的日志: INFO zookeeper.ZookeeperRegistry - [DUBBO] Subscribe: admin://**** INFO zkclient.ZkClient - zookeeper state changed (Disconnected) INFO zkclient.ZkClient - zookeeper state changed (SyncConnected) INFO zkclient.ZkClient - zookeeper state changed (Disconnected) INFO zkclient.ZkClient - zookeeper state changed (SyncConnected)

请问您这个问题解决了没有,是什么原因引起的,能方便告知吗?

1

我们昨天也遇到这个问题了,因为用的dubbo版本和dubbo admin版本比较旧,踩到坑了。 现象就是zk上有个dubbo接口的consumer子节点暴增,达到了一个临界值后,dubbo admin就会挂掉,重启时就会出现无限重连且服务不可用。 具体原因可以参考这个https://www.codenong.com/cs103782625/