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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Done
    • 1.9.2
    • 1.10.0
    • Core Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: