Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ZKFailoverController automatic stopped

Highlighted

ZKFailoverController automatic stopped

Hi, I have namenode HA setup in my hadoop cluster, suddenly my ZKFailoverController is stopped.Every time I start that again it stops and this repeats every time.

How could this be possible?

how to stop this repetition of loop of start/stop ZKFailoverController

13 REPLIES 13
Highlighted

Re: ZKFailoverController automatic stopped

Super Collaborator

Could you please provide the namenode, zkfc logs ??

Re: ZKFailoverController automatic stopped

zkfailovercontrollerlog.txt

Hi @subhash parise, I have attached zookeeper log here. Actually I didn't know the path for namenode and zkfc logs.

It will be good if you can provide me that as well..help appreciated !!

Highlighted

Re: ZKFailoverController automatic stopped

Super Collaborator

Hi Viraj,

Please check the fallowing directory

/var/log/hadoop/hdfs

Highlighted

Re: ZKFailoverController automatic stopped

@subhash parise here you go.Please help me if you can find something in log which can address the issue

namenodelog.txt

zkfailovercontrollerlog.txt

Highlighted

Re: ZKFailoverController automatic stopped

Super Collaborator

Hi Viraj,

in the zkfc log:

Unable to connect to ZooKeeper quorum at hadoop5ind1.adindia:2181,hadoop6ind1.adindia:2181,hadoop2ind2.adindia:2181. Please check the configured value for ha.zookeeper.quorum and ensure that ZooKeeper is running.

can you please check zookeeper servers are running in fallowing hosts:

hadoop5ind1.adindia

hadoop6ind1.adindia

hadoop2ind2.adindia

If the zookeeper servers are running fine check nslookup of above servers

Highlighted

Re: ZKFailoverController automatic stopped

@subhash parise, all are fine..even zookeeper server is also running.

Highlighted

Re: ZKFailoverController automatic stopped

Super Collaborator

@viraj please check the host name resolution of the above servers.

Highlighted

Re: ZKFailoverController automatic stopped

Super Collaborator

if it is production please raise support case to hortonworks.

Highlighted

Re: ZKFailoverController automatic stopped

Hi @subhash parise, Suddenly my both zkfc went down and when I restarted the HDFS both the namenode is in standby mode.This is just going too complicated.

How could both namenode is in standby

Don't have an account?
Coming from Hortonworks? Activate your account here