Mark Bean created NIFI-3993:
-------------------------------

             Summary: Upgrade embedded ZooKeeper version
                 Key: NIFI-3993
                 URL: https://issues.apache.org/jira/browse/NIFI-3993
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.2.0
            Reporter: Mark Bean


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

[1] https://issues.apache.org/jira/browse/ZOOKEEPER-2044



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to