Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
1.2.0
-
None
-
None
Description
In a Cluster configuration, Nodes are periodically disconnected from the Cluster, and then reconnected. These events correspond to the following error:
ERROR [CommitProcessor:1] o.apache.zookeeper.server.NIOServerCnxn Unexpected Exception:
java.nio.channels.CancelledKeyException: null
at sun.nio.ch.SelectionKeyImpl.ensureValid(SectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.interestOps(SelctionKeyImpl.java:77)
at org.apache.zookeeper.server.NIOServerCnxn.sendBuffer(NIOServerCnxn.java:151)
at org.apache.zookeeper.server.NIOServerCnXn.sendResopnse(NIOServerCnxn.java:1081)
at org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:404)
at org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74)
This error was reported in ZooKeeper JIRA [1], and reported as fixed in version 3.4.10, the current stable build. As additional confirmation, when using a stand-alone ZK, 3.4.10, rather than the embedded ZK, the above error was no longer observed.
Update NiFi to use ZK 3.4.10