Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6578 Upgrade zookeeper to 3.5.5
  3. NIFI-6624

Automatically migrate old embedded zookeeper.properties files to the new format

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.10.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      The 3.5.x Zookeeper properties file has changed:

      https://zookeeper.apache.org/doc/r3.5.2-alpha/zookeeperReconfig.html#sc_reconfig_clientport

      As a result, the current embedded zookeeper bundled with NiFi will require a minor change to the zookeeper.properties file. We could potentially do this automatically by removing the clientPort line and appending the value to the end of the server string/s.

      The assumption here would be that the client port is currently configured the same across all servers. If not, we would not be able to auto-migrate the change, and we would need to fail the start and get the user to configure the zookeeper.properties file correctly across all nodes.

        Attachments

          Activity

            People

            • Assignee:
              thenatog Nathan Gough
              Reporter:
              thenatog Nathan Gough
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: