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 in Big Data Hadoop by Punit
1,309 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 by Omkar
• 67,120 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 in Big Data Hadoop by Chandu
222 views
0 votes
1 answer

Need help installing Flume on Windows

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

answered Feb 26 in Big Data Hadoop by Thakur
115 views
0 votes
1 answer

Installing HBase on windows

There is no installation candidate to install ...READ MORE

answered Feb 27 in Big Data Hadoop by Raj
295 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
• 10,110 points
571 views
0 votes
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
• 10,110 points
2,046 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
• 10,110 points
196 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,469 views
0 votes
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,240 points
764 views
0 votes
1 answer

Installing Spark on Windows

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

answered Feb 20 in Big Data Hadoop by Omkar
• 67,120 points
116 views
0 votes
1 answer

How to install Hadoop on Windows system?

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

answered Feb 20 in Big Data Hadoop by Omkar
• 67,120 points
107 views