Questions tagged [apache-curator]
Use this tag for questions about using Apache Curator. Curator is a set of Java libraries that makes using Apache ZooKeeper much easier.
apache-curator
256
questions
-1
votes
0
answers
24
views
Is there a compatibility matrix between apache curator and apache zookeeper?
I have a zookeeper running which is versioned 3.9.2,
but unfortunately, apache curator dependencies for the clients haven't been upgraded.
I would like to know what is the compatible version of apache ...
0
votes
0
answers
33
views
curator 4.0.1 NoSuchMethodError
I am using curator-framework version: 4.0.1 and calling CreateBuilder.creatingParentsIfNeed method. but got error show like below:
java.lang.NoSuchMethodError: org.apache.curator.framework.api....
0
votes
0
answers
47
views
How to specify default Leader for Apache Curator
I am trying to create client for Apache Zookeeper server with Apache Curator.
Idea:
To create client for some worker or job that will be running with some interval. For now I have 3 clients with this ...
0
votes
0
answers
68
views
Performance issue with ZooKeeper ID level locking - Need optimization guidance
We are currently implementing domain ID level locking using Apache ZooKeeper to prevent concurrent modifications of domain objects by multiple actors. The locking mechanism is applied to objects based ...
0
votes
0
answers
28
views
How Apache curator will help in solr cloud for replica recovery ? Any other way to find out root cause for recovery failure ? load balancing?
We are using solr 8.9.0 version and we are facing replica recovery loop issue occasionally.
Problem:
we do have zoo keeper instances having two shards in two different servers having cross server ...
0
votes
1
answer
477
views
Windows Gradle build : Could not expand ZIP
I'm working on a MapReduce app and currently using Gradle to build the project. I'm using following dependencies and when I execute the ./gradlew clean build I'm getting Could not expand ZIP error.
...
1
vote
0
answers
464
views
Root Cause of Curator Exception
My Spring Boot Application threw this exception during runtime and crashed ? Can anyone explain me the reason.
2023-02-16 17:03:15,576 [Curator-TreeCache-1] [45] org.apache.curator.framework.recipes....
2
votes
0
answers
453
views
Zookeeper : java.lang.ClassNotFoundException: org.apache.zookeeper.admin.ZooKeeperAdmin after updating spring boot
I am trying to update an springboot application which uses org.apache.zookeeper.zookeeper.
After updating the spring boot version. I am getting one of the two errors given below depending upon the ...
1
vote
0
answers
118
views
How Curator (the Zookeeper client framework) handles network partition?
How does Curator handles network partition with Zookeeper server?
Especially in the context of watchers, I imagine it will miss events if something changes during the network partition, is this ...
1
vote
0
answers
734
views
Curator disconnects from zookeeper when IPs change even when using DNS names in connection string
We are using the curator service discovery in docker and kubernetes environments. We setup the connection string using the DNS names of the containers/pods. The problem I am seeing is that it ...
0
votes
0
answers
481
views
Zookeeper (Curator framework) : explicitly giving up the leaderLatch
Background
I have a web-socket consumer running on 1 of my backend servers. To keep this system HA, i want to keep 2 more standby machines in the setup. Expectation is -> 1 of the standby VM ...
1
vote
0
answers
585
views
Error occurs when call CuratorCache.start: Unable to read additional data from server sessionid
As the title says, something goes wrong when calling CuratorCache.start. The problem occurs in my project, so I create a small test project to reproduce it.
Env
jdk17(or jdk11)
spring-cloud-starter-...
6
votes
2
answers
2k
views
CuratorFrameworkImpl - Background exception was not retry-able or retry gave up
Curator framework version - 4.3.0, Zookeeper version - 5.5.0
We have deployed apache atlas on Kubernetes and it uses Zookeeper to elect one out of two atlas pods as a leader.
We are running three ...
0
votes
1
answer
951
views
what happens when a node elected as leader goes down?
My question is related to Leader Latch recipe.
I want to use Leader latch to implement a mutex for a scheduled job. There's another requirement: if the scheduled job starts at 1:00:00.005 PM and ends ...
4
votes
1
answer
2k
views
Why isn't curator recovering when zookeeper is back online?
I have a CuratorFramework client (v5.1.0) running against a Zookeeper server (v3.7.0). If the
Zookeeper server is shutdown while the client is connected to it I can see connection states
(with a ...