Hi,
while testing 3.6.1 RC we have found an issue during the shutdown of
ZooKeeper Server
it is an NPE, below the stacktrace of the error.

The problem is related to
https://issues.apache.org/jira/browse/ZOOKEEPER-2845 Data inconsistency
issue due to retain database in leader election

The issue has been implemented on 3.5 branch since 3.5.4, and it is also on
3.6.0

Probably it is not a real issue but it looks like that ZOOKEEPER-2845
<https://issues.apache.org/jira/browse/ZOOKEEPER-2845>  is not
beeing executed.
Here we are in standalone mode inside a test case of an application, so
maybe this NPE won't be seen in a production environment.

Does anyone ever seen this problem ?


Enrico


20-04-10-10-59-40    SyncRequestProcessor exited!

20-04-10-10-59-40    PrepRequestProcessor exited loop!

20-04-10-10-59-40    shutdown of request processor complete

zkservermainrunner 1586509180510 Error : java.lang.NullPointerException

java.lang.NullPointerException

     at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:321)

     at
org.apache.zookeeper.server.ZKDatabase.fastForwardDataBase(ZKDatabase.java:300)

     at
org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:821)

     at
org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:772)

     at
org.apache.zookeeper.server.NettyServerCnxnFactory.shutdown(NettyServerCnxnFactory.java:657)

     at
org.apache.zookeeper.server.ZooKeeperServerMain.shutdown(ZooKeeperServerMain.java:219)

     at
magnews.zookeeper.ZookeeperServerEmbedded$CloseableZooKeeperServerMain.close(ZookeeperServerEmbedded.java:148)

     at
magnews.zookeeper.ZookeeperServerEmbedded$2.run(ZookeeperServerEmbedded.java:229)

ZK server died. Requsting stop on JVM

Reply via email to