Skip to main content

All 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 ...
a3.14_Infinity's user avatar
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 ...
Bohdan Hrytsai's user avatar
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 ...
plasmafire's user avatar
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 ...
Krish's user avatar
  • 38
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 ...
QingWei's user avatar
  • 11
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 ...
fsimon's user avatar
  • 11
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 ...
Harshit's user avatar
  • 1,214
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 ...
Anshul Mehta's user avatar
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 ...
tzortzik's user avatar
  • 5,123
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 ...
cjstehno's user avatar
  • 13.8k
0 votes
0 answers
48 views

How to build a scene where zookeeper jitter cause to multiple rapid elections

I have two program, fc(failoverController) and web(webServer). And I use zookeeper to ensure high reliability. fc will deploy on two server, two fc use apache-curator LeaderSelector to elect master, ...
hehe's user avatar
  • 311
1 vote
1 answer
1k views

Create a ttl node in zookeeper using curator

How to create a ttl node using apache curator? I have tried the following ExponentialBackoffRetry retryPolicy = new ExponentialBackoffRetry(1000, 3); String connectionString = "127.0.0.1:...
bigbounty's user avatar
  • 17.1k
1 vote
1 answer
1k views

Apache Curator + Spring Boot: Simple Observer pattern example

I am trying to start a basic project structure where multiple spring boot application will share resources using apache curator. I am following the guides specified in documentation but changing the ...
djulb's user avatar
  • 395
0 votes
1 answer
399 views

How to start zookeeper ensemble using Curator TestingServer

I am just trying to start a zookeeper ensemble (Leader - follower) with java implementation using the Curator frame work or zookeeper. Initially i have checked with binary mode and it was working fine ...
Bhanuchander Udhayakumar's user avatar
0 votes
1 answer
1k views

Java Curator/ZooKeeper client hanging indefinitely when ZooKeeper is not available on some executions

While testing Curator service discovery start multiple times, on some executions where ZooKeeper server is not available while starting, it got waiting and hanging indefinitely, with thread dump stack ...
Liran's user avatar
  • 214

15 30 50 per page
1
2 3 4 5
15