Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to ZooKeeper hangs forever using Java client #15074

Open
arman-yekkehkhani opened this issue Feb 17, 2025 · 0 comments
Open

Connection to ZooKeeper hangs forever using Java client #15074

arman-yekkehkhani opened this issue Feb 17, 2025 · 0 comments

Comments

@arman-yekkehkhani
Copy link

I am trying to obtain a connection from zookeeper instances using Java client version 1.2.0. Unfortunately, the connection to zookeeper itself can not be established and remains in waiting status. Upon further investigation, I found out the root cause is the transitive dependency to zkClient library.

<dependency>
      <groupId>com.101tec</groupId>
      <artifactId>zkclient</artifactId>
      <version>0.11</version>
</dependency>

I also tried older versions of Java client, version 0.9.3, this issue does not appear in this version as it is relying on an older version of zkClient.

One possible workaround is to use the zkClient provided by apache-helix zkClient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants