Questions tagged [apache-zookeeper]

Apache ZooKeeper is a distributed service that provides configuration information storage, naming, synchronization, coordination, and group services.

ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. It was inspired by Chubby, Google's distributed lock system.

All of these kinds of services are used in some form or another by distributed applications. Each time they are implemented there is a lot of work that goes into fixing the bugs and race conditions that are inevitable. Because of the difficulty of implementing these kinds of services, applications initially usually skimp on them, which makes them brittle in the presence of change and difficult to manage. Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.

ZooKeeper is used by a variety of other software projects to maintain configuration information including Apache Storm, Apache Flink, Solr Cloud, Apache Kafka and Apache Hadoop.

Links

Related Tags

3686 questions
1
vote
0 answers

list all ZNodes in zookeeper via program

everyone does zookeeper API provides a way to list all z nodes present in zookeeper via program just like "ls /" CLI command for zookeeper CLI.
JayD
  • 748
  • 1
  • 13
  • 38
1
vote
0 answers

Apache Kafka Zookeeper silently failing to start

I downloaded the file kafka_2.11-2.1.0 from the Kafka website, unzipped it, and as instructed, ran the command to start the built-in Zookeeper server. But when I do so, nothing happens: $ ./bin/zookeeper-server-start.sh…
Jonathan
  • 32,202
  • 38
  • 137
  • 208
1
vote
0 answers

Zookeeper api exists method version

I just want to know how does the zookeeper api's exists (String path, boolean watch) method works because I have read the docs and I am confused by it. It states that if watch is true a watch is left on the znode which is triggered by an operation…
JayD
  • 748
  • 1
  • 13
  • 38
1
vote
1 answer

Kerberos JAAS with Service name

I'm trying to set up Zookeeper / Kafka Kerberos authentication but my keytab were created in an interesting way: ktpass -princ zookeeper/hostname@TEST -mapuser zookeeper -mapOp add -Target TEST so it turns out I can do this kinit…
Stephane Maarek
  • 5,202
  • 9
  • 46
  • 87
1
vote
1 answer

Search text in all nodes of Apache Zookeeper

I'm creating a zookeeper browser for work wherein I want to implement a search function which looks up for some text in all zookeeper nodes and returns matching nodes which have that data. It works by iterating over all nodes with Java, but it very…
testuserx
  • 226
  • 2
  • 13
1
vote
1 answer

Apache Curator GroupMember how to get complete set of members?

I am very new to Zookeeper so I am trying to use Curator recipes to see if I can get my pretty simple asks out of the box. I am trying to use Curator GroupMember class/recipe in order to split workload between nodes. GroupMember start() method…
AndreyB
  • 139
  • 1
  • 1
  • 6
1
vote
0 answers

Step by step on how I should update/upgrade Zookeeper

I have a setup for Apache Solr 7.4.0 for which I currently use Zookeeper 3.4.13. From what I have been experiencing and what I have read, an upgrade may be in order. I had previously installed Zookeeper through the instructions I had gleaned on…
Tipo33
  • 181
  • 13
1
vote
2 answers

Mapping out a Kafka+Zookeeper cluster

Background I inherited a Kafka/Zookeeper installation. I have a passing knowledge of those - I know the general architecture, how clients work, about topics, etc., have been involved in programming Java clients etc. But the installation is somewhat…
AnoE
  • 8,048
  • 1
  • 21
  • 36
1
vote
1 answer

Kafka to zookeeper DIGEST-MD5 authentication error

I could able to do DIGEST-MD5 authentication with kafka broker and embedded zookeeper which is given by Kafka but I was getting following error message while doing DIGEST-MD5 authentication with Kafka broker and non embedded zookeeper (separate…
1
vote
1 answer

Bridge startup error connecting to Zookeeper

Just getting the following error trying to setup the Bridge component using Zookeeper, according to the steps described in https://docs.corda.r3.com/website/releases/3.1/bridge-configuration-file.html?highlight=zookeeper. > java -jar…
Maka
  • 357
  • 1
  • 11
1
vote
1 answer

Landoop/fast-data-dev : Connection to node -1 could not be established

I am trying to use kafka with the docker image Landoop/fast-data-dev I ran the following commands I started the docker container docker run --rm -it -p 2183:2181 -p 3030:3030 -p 8081:8081 -p 8082:8082 -p 8083:8083 -p 9093:9092 -e…
Judy1989
  • 327
  • 1
  • 6
  • 18
1
vote
1 answer

Zookeeper cannot create new znodes

I run a zookeeper container in Docker and start a local client to connect it but I just can't create a new znode.
Bauer Jack
  • 13
  • 3
1
vote
1 answer

kafka - ERROR Error when sending message to topic test-topic with key: null, value: 17 bytes with error

I am working on deploying Kafka/Zookeeper in Kubernetes using MINIKUBE. below is my YAML file: ################################## # Setup Zookeeper Deployment ################################## --- apiVersion: extensions/v1beta1 kind:…
1
vote
1 answer

KeeperErrorCode NoNode for /config/changes/isr_change_0000XXXX

We have a CDH cluster with kafka 0.8.2 and zookeeper 3.4.5, recently zookeeper reported exceptions continuously like: INFO org.apache.zookeeper.server.PrepRequestProcessor Got user-level KeeperException when processing sessionid:0x3660f87a92d007a…
snowy
  • 11
  • 3
1
vote
1 answer

Confluent - How to use external zookeeper instead of embedded zookeeper

I used to setup standalone Confluent Server with embedded Zookeeper(ZK). But now, my prod server has its own ZK cluster. So I want to use it instead of the embedded ZK in Confluent. Using ksql for example. Although I can set the ZK settings of ksql…
Archon
  • 1,385
  • 1
  • 15
  • 30
1 2 3
99
100