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 in Big Data Hadoop by jaganath
19 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 by Gitika
• 19,720 points

Related Questions In Big Data Hadoop

0 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 22, 2018 in Big Data Hadoop by nitinrawat895
• 10,110 points
321 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,630 points
82 views
0 votes
1 answer
0 votes
1 answer

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

start-dfs.sh script, only starts the HDFS daemons. ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,190 points
533 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,054 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,506 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
765 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 in Big Data Hadoop by Gitika
• 19,720 points
3,201 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 in Big Data Hadoop by Gitika
• 19,720 points
23 views