Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3993

Upgrade embedded ZooKeeper version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.2.0
    • None
    • Core Framework
    • 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

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            markbean Mark Bean
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m