Nathan Gough created NIFI-6624:
----------------------------------

             Summary: Automatically migrate old embedded zookeeper.properties 
files to the new format
                 Key: NIFI-6624
                 URL: https://issues.apache.org/jira/browse/NIFI-6624
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.9.2
            Reporter: Nathan Gough
            Assignee: Nathan Gough
             Fix For: 1.10.0


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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to