Questions tagged [zookeeper]
48 questions
28
votes
3 answers
What command could be issued to check whether a ZooKeeper server is a Leader or a Follower?
A ZooKeeper Quorum consisting of three ZooKeeper servers has been created.
The zoo.cfg located on all three ZooKeeper servers looks as follows:
maxClientCnxns=50
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the…
![](../../users/profiles/215599.webp)
030
- 5,731
- 12
- 61
- 107
16
votes
9 answers
Unable to start kafka with zookeeper (kafka.common.InconsistentClusterIdException)
Below the steps I did to get this issue :
Launch ZooKeeper
Launch Kafka : .\bin\windows\kafka-server-start.bat .\config\server.properties
Also note that my OS is Windows
And at the second step the error happens :
ERROR Fatal error during…
![](../../users/profiles/554530.webp)
TourEiffel
- 261
- 1
- 2
- 5
14
votes
1 answer
Get zookeeper cluster status
Is there a cli or some command-line, that I can use to find the zookeeper cluster status. Basically I want to know how to member in cluster or which nodes is acting as a leader.
Any pointers will be helpful.
Saw this question in stackoverflow:…
![](../../users/profiles/242762.webp)
Sumit Murari
- 245
- 1
- 2
- 8
8
votes
1 answer
Could not start ZK at requested port of 2181, while export HBASE_MANAGES_ZK=false
Problem
The first aim was to run HBase standalone. Navigating to ip:60010/master-status is succesfull once HBase has been started.
The second aim is to run a distinct ZooKeeper quorum. ZooKeeper has been downloaded and has been started:
netstat…
![](../../users/profiles/215599.webp)
030
- 5,731
- 12
- 61
- 107
6
votes
4 answers
How can I stop ZooKeeper on Ubuntu?
I have installed zookeeperd on Ubuntu 14.04 (Trusty Tahr) as suggested here:
Unfortunately this process is somehow not stoppable. I tried even kill -9
user@node1:/opt/zookeeper-3.4.6$ ps -ef | grep zookeeper
zookeep+ 4008 1 8 01:07 ? …
![](../../users/profiles/84332.webp)
merlin
- 2,033
- 11
- 37
- 72
5
votes
1 answer
Why would using MongoDB in lieu of etcd as a key value store be a good or bad idea?
I'd like to get general thoughts from the community as to why MongoDB for key/value would OR would not be a suitable replacement for etcd or other purpose-built key/value store system (consol, zookeeper, etc).
![](../../users/profiles/211601.webp)
DefionsCode
- 230
- 3
- 9
4
votes
1 answer
Kafka compatible with Zookeeper 3.5 feature 'Rebalancing Client Connections'
In this document https://zookeeper.apache.org/doc/trunk/zookeeperReconfig.html dynamic configuration functionality is described for Zookeeper 3.5.
There are 2 important points in this document:
When changing the dynamic config of one Zookeeper…
![](../../users/profiles/321831.webp)
hendrikswan
- 141
- 5
4
votes
0 answers
Kafka using a distant Zookeeper instance?
we have an existing Zookeeper instance, and want to build a Kafka cluster in a remote location (not on the same side of the Atlantic ocean).
Can we use that existing Zookeeper for our new Kafka usage ?
Would latency be an issue ? Kafka is using…
![](../../users/profiles/352140.webp)
Pixou
- 141
- 2
3
votes
1 answer
Zookeeper node is not able to load database on production server anymore
I am running a zookeeper ensemble of 3 on three different ubuntu 14.04 nodes. The setup used to work OK, but now I noticed the zk1 is not operational. It does also not restart:
:/home/www$ sudo /etc/init.d/zookeeper status
* zookeeper is not…
![](../../users/profiles/84332.webp)
merlin
- 2,033
- 11
- 37
- 72
2
votes
3 answers
ZooKeeper not starting because acceptedEpoch is less than the currentEpoch
I have zookeeper.version=3.4.10, and I see:
https://issues.apache.org/jira/browse/ZOOKEEPER-2307
that is however in unresolved status. The problem appeared because of filling up the disk space. Now that I deleted some logs, and freed space, I would…
![](../../users/profiles/506275.webp)
hdjur_jcv
- 191
- 1
- 4
2
votes
0 answers
kafka docker - ERROR when sending a message
I would like to implement kafka in a docker container. I use the official zookeper instance for kafka as docker container, too.
When I want to write a message about the terminal, on my linux mint 18.1 OS, I get the following error message.
foo@bar ~…
![](../../users/profiles/408880.webp)
Volker Raschek
- 307
- 1
- 5
- 13
2
votes
0 answers
How to make ActiveMQ nodes keep their database synchronized?
I have 3 servers with Zookeeper and ActiveMQ installed.
Everything seems to be working fine, however, when one of my node dies, and a new election occurs, however the new leader don't have the same database state as the other leader had.
Any idea…
![](../../users/profiles/98706.webp)
Valter Silva
- 190
- 10
2
votes
1 answer
Port out of range in ReplicatedDB ActiveMQ
I have 3 replicated machines with Zookeeper and ActiveMQ (linux).
I can confirm that zookeeper works correctly since I can see their ports (2888 and 3888) listening via netstat. The problem is confirmed in the ActiveMQ side.
On the slave machines,…
![](../../users/profiles/369748.webp)
sweet suman
- 121
- 2
2
votes
0 answers
Restoring Solr Cloud 4.7 index
I have a test environment which is created every morning and then destroyed every night. Part of the environment is a SolrCloud (version 4.7) instance connected to a remote Zookeeper cluster.
The Solr instance has one shard and around 8 cores. Some…
![](../../users/profiles/319301.webp)
wimnat
- 299
- 2
- 10
2
votes
2 answers
Solrcloud: Error 500 after restart
I have 3 vm windows, on all of them is installed solr 5.4.0 and 3.4.6 zookeeper; the two services start automatically when the vm start. After reboot vms the solr does not respond correctly, it gives me error500:
HTTP ERROR 500 Problem accessing…
![](../../users/profiles/246501.webp)
kasher
- 63
- 1
- 8