Support Questions

Find answers, ask questions, and share your expertise

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 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?


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?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.