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.

Zookeeper Issue

Zookeeper Issue

New Contributor

I found that the following error has been reported in the log:
WARN org.apache.zookeeper.server.NIOServerCnxn:Exception causing close of session 0x0 due to java.io.IOException: ZookeeperServer not running
When the node is searched, it is found that when the node is a leader, the zookeeper state is: It is probably not running, and the Follower node is normal.
I tried to delete the data in the datadir directory and it didn't work.
Can you give me some advice?

1 REPLY 1

Re: Zookeeper Issue

Cloudera Employee

There seems to be the problem with the zk election process. Regardless of the "server not running" messages, is Zookeeper up and running and accepting client request? 

 

Could you post 30 lines above and below the log message "WARN org.apache.zookeeper.server.NIOServerCnxn:Exception" for review?