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
25 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
• 25,300 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,510 points
350 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
95 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 in Big Data Hadoop by Lokesh Singh
608 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,510 points
2,400 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
12,220 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
896 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
• 25,300 points
3,829 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
• 25,300 points
40 views