Pre-check
- [x] I am sure that all the content I provide is in English.
Search before asking
- [x] I had searched in the issues and found no similar issues.
Apache Dubbo Component
Java Samples (apache/dubbo-samples)
Dubbo Version
Samples:apache/dubbo-samples:dubbo-samples-zookeeper-provider Dubbo: 3.3.0/3.3.1 zookeeper server: 3.4.10;
Steps to reproduce this issue
从 dubbo2 升级到 dubbo3:如果您当前正在使用的 Zookeeper Server 版本是 3.4.x 版本,则使用以下 starter:
What you expected to happen
2025-04-24T00:22:34.751+08:00 ERROR 32324 --- [tor-Framework-0] o.a.c.f.i.CuratorFrameworkImpl : Background exception was not retry-able or retry gave up
org.apache.zookeeper.KeeperException$UnimplementedException: KeeperErrorCode = Unimplemented for /dubbo at org.apache.zookeeper.KeeperException.create(KeeperException.java:106) ~[zookeeper-3.7.2.jar:3.7.2] at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[zookeeper-3.7.2.jar:3.7.2] at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1347) ~[zookeeper-3.7.2.jar:3.7.2] at org.apache.curator.utils.ZKPaths.mkdirs(ZKPaths.java:351) ~[curator-client-5.1.0.jar:?] at org.apache.curator.framework.imps.CreateBuilderImpl$8.performBackgroundOperation(CreateBuilderImpl.java:758) ~[curator-framework-5.1.0.jar:5.1.0] at org.apache.curator.framework.imps.OperationAndData.callPerformBackgroundOperation(OperationAndData.java:84) ~[curator-framework-5.1.0.jar:5.1.0] at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:974) ~[curator-framework-5.1.0.jar:5.1.0] at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:952) ~[curator-framework-5.1.0.jar:5.1.0] at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:66) ~[curator-framework-5.1.0.jar:5.1.0] at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:342) ~[curator-framework-5.1.0.jar:5.1.0] at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:317) ~[?:?] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java) ~[?:?] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]
Anything else
No response
Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Comment From: heliang666s
If you use zk upper than 3.4.x, it would be better to use dubbo-dependencies-zookeeper-curator5.@jockercheng91
Comment From: songxiaosheng
Attempt to align the versions of the Zookeeper client and server: https://curator.apache.org/docs/zk-compatibility-34