This is an automated email from the ASF dual-hosted git repository.
zihaoxiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new fd53743baa [Fix-17111] [registry] Fix zookeeper registry start failed
message. (#17111) (#17115)
fd53743baa is described below
commit fd53743baaee96e4df06e1f4844f27c50cd0ef2f
Author: ZHANG YINGHONG <[email protected]>
AuthorDate: Mon Apr 7 10:45:39 2025 +0800
[Fix-17111] [registry] Fix zookeeper registry start failed message.
(#17111) (#17115)
---
.../dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java
b/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java
index be059ad423..efa9411e6b 100644
---
a/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java
+++
b/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java
@@ -107,7 +107,7 @@ final class ZookeeperRegistry implements Registry {
client.close();
throw new RegistryException(
"zookeeper connect failed to: " +
properties.getConnectString() + " in : "
- + properties.getBlockUntilConnected() + "ms");
+ +
properties.getBlockUntilConnected().toMillis() + "ms");
}
stopWatch.stop();
log.info("ZookeeperRegistry started at: {}/ms",
stopWatch.getTime());