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.

unexpected KeeperException zookeeper

unexpected KeeperException zookeeper

I am getting below error :

2018-07-23 07:11:06,343 - ERROR [pool-55-thread-1:ZooKeeperWatcher@648] - hconnection-0x4ec52b88-0x2648fec80f33ff4, quorum=server1:2181,server2:2181,server3:2181, baseZNode=<provided>  Received unexpected KeeperException, re-throwing exception

When I checked the logs :

2018-07-23 12:08:34,525 - WARN  [QuorumPeer[myid=1]/0.0.0.0:2181:Learner@374] - Got zxid 0x2a00000001 expected 0x1
2018-07-23 12:08:34,560 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running
2018-07-23 12:08:34,636 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running
2018-07-23 12:08:34,725 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running
2018-07-23 12:08:34,764 - WARN  [QuorumPeer[myid=1]/0.0.0.0:2181:Follower@118] - Got zxid 0x2a00000006 expected 0x1
2018-07-23 12:08:38,061 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running
2018-07-23 12:08:38,086 - WARN  [QuorumPeer[myid=1]/0.0.0.0:2181:Learner@374] - Got zxid 0x2a00000017 expected 0x1
2018-07-23 12:08:38,422 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running
2018-07-23 12:09:11,902 - WARN  [QuorumPeer[myid=1]/0.0.0.0:2181:Follower@118] - Got zxid 0x2a0000001c expected 0x1
2018-07-23 12:35:22,302 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception
2018-07-23 12:38:49,614 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception

However zookeeper servers are up and running . checked with the following command :

/usr/hdp/2.6.1.0-129/zookeeper/bin/zkServer.sh status
Don't have an account?
Coming from Hortonworks? Activate your account here