zookeeper starting problem

0 votes

I have installed zookeeper and done all the configurations needed, but when I started zookeeper with the command:

sudo /home/hduser/zookeeper/bin/zkServer.sh start

It was showing zookeeper started and then I used a command jps there were No QuorumPeerMain and when I used sudo jps I get this:

 -- process information unavailable
 QuorumPeerMain
 -- process information unavailable
 -- process information unavailable
 Jps
 -- process information unavailable
 -- process information unavailable

There's the QuorumPeerMain, why it is happening can anyone tell me?

May 31, 2019 in Big Data Hadoop by jaganath
1,482 views

1 answer to this question.

0 votes

Hey,

The QuorumPeerMain service is visible with sudo jps command because you are running the Zookeeper with

 sudo /home/hduser/zookeeper/bin/zkServer.sh. 

You should run the Zookeeper without sudo in command then it will be visible in jps command result.

As you have started the Zookeeper with sudo the Zookeeper directory is having the files with root permissions you have to update the owner of these directories to run it with normal command.

Once you make above changes the hbase installation will not create any problem. That's why when you mentioned you have to change the ownership of the zookeeperData folder using below command: 

sudo chown -R hduser:hduser /home/hduser/zookeeperData
answered May 31, 2019 by Gitika
• 65,770 points

Related Questions In Big Data Hadoop

+2 votes
1 answer

Is Kafka and Zookeeper are required in a Big Data Cluster?

Apache Kafka is one of the components ...READ MORE

answered Mar 23, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
2,098 views
+1 vote
1 answer

Is it necessary to use Zookeeper in Hadoop Stack?

ZooKeeper is a centralized service for maintaining ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by Ashish
• 2,650 points
827 views
0 votes
1 answer
0 votes
2 answers

start-dfs.sh command is not starting Hadoop JobTracker & TaskTracker

On which version of hadoop do you ...READ MORE

answered Jul 24, 2019 in Big Data Hadoop by Lokesh Singh
3,834 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,028 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
0 votes
12 answers

What is Zookeeper? What is the purpose of Zookeeper in Hadoop Ecosystem?

Hey, Apache Zookeeper says that it is a ...READ MORE

answered Apr 29, 2019 in Big Data Hadoop by Gitika
• 65,770 points
29,881 views
0 votes
1 answer

What is the use of ZooKeeper in Hbase?

Hey, The zookeeper is used to maintain the ...READ MORE

answered May 21, 2019 in Big Data Hadoop by Gitika
• 65,770 points
3,002 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