Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start Zookeeper server - Kafka Setup

I am trying to setup Kafka referring to the quick start guide on the apache kafka page and while starting the zookeeper server it gets stuck at this step...Would appreciate if someone can help guide me through on how to start the zookeeper server

[2015-05-26 15:41:39,216] INFO tickTime set to 3000 (org.apache.zookeeper.server.ZooKeeperServer)
[2015-05-26 15:41:39,216] INFO minSessionTimeout set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2015-05-26 15:41:39,216] INFO maxSessionTimeout set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2015-05-26 15:41:39,235] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
like image 913
tobeornotobe Avatar asked May 26 '15 22:05

tobeornotobe


People also ask

How do I start my own ZooKeeper server?

To start the ZooKeeper server on a Linux system, use the Zookeeper/zookeeper/bin/zkServer.sh restart command from your Watson Explorer installation directory. On Microsoft Windows systems, use the Zookeeper\zookeeper\bin\zkServer. cmd command.

Can we start Kafka server without starting ZooKeeper?

However, you can install and run Kafka without Zookeeper. In this case, instead of storing all the metadata inside Zookeeper, all the Kafka configuration data will be stored as a separate partition within Kafka itself.

How do I start ZooKeeper on windows?

Now time to start zookeeper from command prompt. Change your directory to bin\windows and execute zookeeper-server-start. bat command with config/zookeeper.


1 Answers

The terminal getting stuck at that step actually means that the server is running. So, while you may have thought you were getting an error, it actually means that the server has started.

like image 65
Kaps Avatar answered Sep 17 '22 18:09

Kaps