Support Questions

Find answers, ask questions, and share your expertise

Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running :

avatar
Explorer

Hello Guys,

 

I am getting the below error in zookeeper log in one of my three zookeeper servers. The service status is running. For this server  the telnet connections is getting closed, which seems fine in othre servers. 

 

------
Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running-

------

 

Please help.

1 REPLY 1

avatar
Explorer

 

Also got this error from the log

 

WARN [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Follower@8] - Exception when following the leader
java.io.IOException: Error: Epoch of leader is lower
at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:73)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:644)
INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Follower@16] - shutdown called
java.lang.Exception: shutdown Follower
at org.apache.zookeeper.server.quorum.Follower.shutdown(Follower.java:166)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:648)
INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:QuorumPeer@62] - LOOKING
INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FileSnap@82] - Reading snapshot