Installing Zookeeper on Windows

0 votes
Hi. I am trying to install Kafka on Windows which requires Zookeeper to be installed. But I don't know how to install Zookeeper. Can you please mention the steps for this?
Feb 22, 2019 in Big Data Hadoop by Punit
29,836 views

1 answer to this question.

0 votes

Follow the below-mentioned steps to install Zookeeper on Windows.

First, download Zookeeper from http://zookeeper.apache.org/releases.html#download

Then open command prompt, switch to the folder where zookeeper was downloaded and extract the files

$ tar -xvf zookeeper-3.4.12.tar.gz

Open a windows explorer and go to the zookeeper folder and under that go to conf folder. You will find a file named zoo_sample.cfg, create a duplicate of this file and name it zoo.cfg and open it with a text editor.

Find the entry dataDir=/tmp/zookeeper and change the value of dataDir to the zookeeper folder like this:

And save the file.

Finally, you have to add the path. Refer to the below screenshots:

That’s it. To start Zookeeper, open command prompt and run:

> zkserver

You can refer this to know how to install Spark: https://www.edureka.co/community/38855/installing-spark-on-windows

answered Feb 22, 2019 by Omkar
• 69,220 points
Would only work on windows 7 for me when I use forward slashes and not the normal backslashes for the dataDir
Usually, Linux OS use forward slash and Windows use the backslash. I don't see why it didn't work.

Related Questions In Big Data Hadoop

+1 vote
1 answer

Need help Installing Sqoop on Windows.

Download Sqoop from this link: http://www.apache.org/dyn/closer.lua/sqoop/1.4.7 This link is ...READ MORE

answered Feb 25, 2019 in Big Data Hadoop by Chandu
3,409 views
+1 vote
1 answer

Need help installing Flume on Windows

Hi. Here's what you need.  Follow the below ...READ MORE

answered Feb 27, 2019 in Big Data Hadoop by Thakur
4,320 views
0 votes
2 answers

Installing HBase on windows

This procedure worked for me. https://medium.com/@bishupaulose/install ...READ MORE

answered Aug 16, 2019 in Big Data Hadoop by Sam
6,388 views
+1 vote
1 answer

Hadoop Installation Issue on Windows

Below is the main error you are ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
6,371 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,029 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,536 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,832 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,612 views
0 votes
1 answer

Installing Spark on Windows

Follow the below steps to install Spark ...READ MORE

answered Feb 20, 2019 in Big Data Hadoop by Omkar
• 69,220 points
2,231 views
0 votes
1 answer

How to install Hadoop on Windows system?

First you need to download Hadoop files. ...READ MORE

answered Feb 20, 2019 in Big Data Hadoop by Omkar
• 69,220 points
3,306 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP