Zookeeper server going down frequently

0 votes
Out of 3 servers, one ZK server going down frequently. It was up and running successfully for quite a long time. There were no traces of errors in the log file also. Kindly help me !!!
Nov 9, 2020 in Big Data Hadoop by B
• 210 points

edited Nov 9, 2020 by MD 101 views
Is there any other way, instead of dropping the already running one?
Because out of 3, 2 are running fine and only one is giving trouble. If I remove the zookeeper, it would be a huge impact across the cluster.

Kindly advise on this hypothetic situation.

1 answer to this question.

0 votes

Hi@B,

There may be several reasons behind this. First, check the firewall. If it is fine then, there may be a problem with the log file. You may delete the previous log file. Or check the log file properly. It should show the error message.

answered Nov 9, 2020 by MD
• 95,060 points
Hi MD,

There is no firewall enabled. I checked the log files, they are empty. Not evidence for issue anywhere in the ZK server.
Hi@B,

I think there may be a problem with permission. Check if the user has permission or not.
Required permissions are there.
Anything specific user permission need to be validated?

FYI., A couple of days ago I have upgraded the HDP version to 2.6.5; since then I am facing this issue.

Hi@B,

You have upgraded your HDP. But your other tools remain the same. The thing is we should check which one is compatible with which one be upgrading. Do one thing shut down your zookeeper and create a new one and try to connect again.

Is there any other way, instead of dropping the already running one?
Because out of 3, 2 are running fine and only one is giving trouble. If I remove the zookeeper, it would be a huge impact across the cluster.

Kindly advise on this hypothetic situation.

Hi@B,

You can use tcpdump command to troubleshoot. I mean run the tcpdump command to that node and capture the network packet. And see what it is showing.

Now this issue also has been resolved. Issue was due to old Zookeeper process was running and blocking the new request from Ambari; that's why whenever I attempt to start the server, it comes up and goes down after few seconds.

Throwed this cmd #ps -ef | grep -i zookeeper; kill -9 <pid>, started the faulty zookeeper server and issue got resolved by that way.

Anyways, thanks a lot for spending your valuable time in advising the possible solutions.

Really appreciated your help!!!

Related Questions In Big Data Hadoop

0 votes
1 answer

Is it possible to start a zookeeper server instance in process?

To start ZooKeeper you have to execute ZooKeeperServerMain class. You can use ...READ MORE

answered Oct 9, 2018 in Big Data Hadoop by Omkar
• 69,090 points
120 views
0 votes
1 answer

How to set Zookeeper server for Accumulo in sqoop?

Hi. To mention the Zookeeper server in ...READ MORE

answered May 16, 2019 in Big Data Hadoop by Kumar
186 views
0 votes
1 answer

Command to stop the zookeeper server?

Hey, After connecting the server and performing all ...READ MORE

answered May 27, 2019 in Big Data Hadoop by Gitika
• 65,870 points
928 views
0 votes
1 answer

How to set Zookeeper server in Hue?

You have to set the details of ...READ MORE

answered May 30, 2019 in Big Data Hadoop by John
189 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
6,838 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
• 11,380 points
1,095 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
48,149 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,390 points
2,592 views
0 votes
1 answer

ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet!

Hi@akhtar, This error occurs if the hbase server ...READ MORE

answered Mar 30, 2020 in Big Data Hadoop by MD
• 95,060 points
1,343 views