Sorry, I should have elaborated that I was referencing the link from the MG. I realize you’re using external ZK and this is for embedded. Yes, I believe you will need to change the format of your connection string.
Andy LoPresto [email protected] [email protected] PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Feb 20, 2020, at 3:20 PM, Andy LoPresto <[email protected]> wrote: > > Hi Dan, > > I believe the changes you’re looking for are here [1], copied below: > > The Zookeeper dependency that NiFi uses for state management and cluster > elections was upgraded to v3.5.5. From v3.5.x onwards, Zookeeper changed the > zookeeper.properties file format and as a result NiFi users using an existing > embedded zookeeper will need to adjust their existing zookeeper.properties > file accordingly. More details here: > https://zookeeper.apache.org/doc/r3.5.3-beta/zookeeperReconfig.html#sc_reconfig_clientport > > <https://zookeeper.apache.org/doc/r3.5.3-beta/zookeeperReconfig.html#sc_reconfig_clientport>. > For new deployments of the 1.10.0 release onwards, NiFi will be packaged with > an updated template zookeeper.properties file. > To update an existing zookeeper.properties file however, edit the > conf/zookeeper.properties file: > Remove the clientPort=2181 line (or whatever your port number may be) > Add the client port to the end of the server string eg: > server.1=localhost:2888:3888;2181 > > [1] https://cwiki.apache.org/confluence/display/NIFI/Migration+Guidance > <https://cwiki.apache.org/confluence/display/NIFI/Migration+Guidance> > > Andy LoPresto > [email protected] <mailto:[email protected]> > [email protected] > PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > >> On Feb 20, 2020, at 3:18 PM, dan young <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hello, >> >> Using Nifi 1.11.1 in cluster mode with external zookeeper. Does the >> nifi.zookeeper.connect string in the nifi.properties need to change from say: >> >> >> nifi.zookeeper.connect.string=10.xxx.x.xxx:2181,10.xxx.x.xxx:2181,10.xxx.x.xxx:2181 >> >> >> nifi.zookeeper.connect.string=10.xxx.x.xxx;2181,10.xxx.x.xxx;2181,10.xxx.x.xxx;2181 >> >> Changing the : to ; between the host and client port? >
