Support Questions
Find answers, ask questions, and share your expertise

ZKFailoverController automatic stopped

Re: ZKFailoverController automatic stopped

Super Collaborator

which environment it is ??

Re: ZKFailoverController automatic stopped

@subhash parise

doing this all operations using ambari 2.2.0 in CentOS 7.

Re: ZKFailoverController automatic stopped

Rising Star

@Viraj Vekaria check your zookeeper logs as well. They are in /var/log/zookeeper and should be in a zookeeper.out file. You can check the health of your zookeeper servers with "echo ruok | nc 127.0.0.1 2181".

Re: ZKFailoverController automatic stopped

Expert Contributor

Hi @Viraj Vekaria

As per the zkfc log, it looks like zookeepers were possibly not running or healthy when ZKFC start commands were being executed.If zookeepers are down, Please use Ambari to start all services via "Start All" button in service's menu Action dropdown. This takes care of starting Zookeepers first before starting ZKFC. Alternatively you can specifically restart just zookeepers and then try starting ZKFC.