[
https://issues.apache.org/jira/browse/NIFI-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543452#comment-16543452
]
ASF GitHub Bot commented on NIFI-3993:
--------------------------------------
Github user jtstorck commented on the issue:
https://github.com/apache/nifi/pull/2884
@joewitt I brought up the upgrade a while ago, but many of the
services/components we integrate with are using Zookeeper 3.4.6. Originally I
wanted to use a newer version that did not explicitly depend on log4j, because
it was causing some issues with the NiFi Toolkit. Since we were able to work
around the dependency issue, we didn't upgrade the version.
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)