How to install Zookeeper in Ubuntu?

0 votes
I am learning Hadoop and now want to start with Zookeeper. Can someone tell me how to install Zoopkeeper?
Feb 20 in Big Data Hadoop by John
46 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

There are two ways to install Zookeeper:

You can either use the apt-get method to install it like this:

$ sudo apt-get install zookeeperd

And if you want to install a particular version or stable versions, then follow the below steps:

To install Zookeeper, first download Zookeeper from this link:

http://zookeeper.apache.org/releases.html

Then go to the directory where this file is downloaded and extract the Zookeeper files:

$ cd Downloads

$ tar -xvf zookeeper-3.4.12.tar.gz

Now you must configure Zookeeper. To do this, go the Zookeeper directory and create a new directory name data.

Now you have to create a configuration file.

$ cd conf

$ nano zoo.cfg

and copy the follow entries in that file:

tickTime = 2000

dataDir = /path/to/zookeeper/data

clientPort = 2181

initLimit = 5

syncLimit = 2

NOTE: In the above entries, replace path/to/zookeeper with the path to the zookeeper directory.

Save and exit.

That’s it. Now to start zookeeper, go to the bin directory and run:

answered Feb 20 by Omkar
• 66,880 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to install Hadoop in Ubuntu?

Follow the steps as mentioned in the ...READ MORE

answered May 17, 2018 in Big Data Hadoop by nitinrawat895
• 9,310 points
34 views
0 votes
1 answer

How to install Hadoop on Ubuntu?

You can refer to this blog by ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 9,310 points
268 views
0 votes
1 answer

How to upload file to HDFS in Ubuntu

you can use  hadoop fs -copyFromLocal  "/home/ritwik ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
71 views
0 votes
1 answer

How to uninstall and install mysql-server in centos?

Please find below the command to uninstall ...READ MORE

answered Dec 27, 2018 in Big Data Hadoop by Omkar
• 66,880 points
56 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
• 9,310 points
1,817 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
• 9,310 points
149 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
8,983 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,260 points
646 views
0 votes
1 answer

How to install Hadoop in Ubuntu?

Hey. Follow these steps to install hadoop. First ...READ MORE

answered Feb 19 in Big Data Hadoop by Omkar
• 66,880 points
85 views
0 votes
1 answer

How to open MySql console in Ubuntu?

sudo service mysqld restart mysql -u <username> root ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Omkar
• 66,880 points
63 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.