Hi Dave, I think you need to activate the embedded Zookeeper servers in nifi.properties (see below) and check that the connect string matches the ports defined in the zookeeper.properties file that is referenced. Also, make sure all the servers can resolve the nifixx names (through DNS or the hosts file).
Regards, Isha # Specifies whether or not this instance of NiFi should run an embedded ZooKeeper server nifi.state.management.embedded.zookeeper.start=true # Properties file that provides the ZooKeeper properties to use if <nifi.state.management.embedded.zookeeper.start> is set to true nifi.state.management.embedded.zookeeper.properties=./conf/zookeeper.properties Van: David Snyder <[email protected]> Verzonden: maandag 16 januari 2023 18:56 Aan: [email protected]; Isha Lamboo <[email protected]> Onderwerp: Re: Basic Cluster Install of Nifi Hello Isha and all - Isha, thanks for your guidance/feedback! I did first separately install nifi on each of the 3 ubuntu 22.4 clients. I then stopped the nifi service running on each of the 3 clients and then made revisions to the following files: nifi.properties state-mangement.xml zookeeper.properties These are the specific changes I made to each of the files: nifi.properties: under the Web Properties section, set HTTPS port: 8443 and the host property to nifixx nifi.cluster.is.node - set to true nifi.cluster.node.address = nifixx nifi.cluster.node.protocol.port = 7474 nifi.zookeeper.connect.string = nifi01:2181,nifi02:2181,nifi03:2181 nifi.cluster.protocol.is.secure = true state-management.xml <cluster-provider> <id>zk-provider</id> <class>org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider</class> <property name="Connect String">nifi01:2181,nifi02:2181,nifi03:2181</property> <property name="Root Node">/nifi</property> <property name="Session Timeout">10 seconds</property> <property name="Access Control">Open</property> </cluster-provider> zookeeper.properties: server.1=nifi01::2888:3888;2181 server.2=nifi02::2888:3888;2181 server.3=nifi03::2888:3888;2181 The recurring warning that is appearing in the nifi-app.log is "There is currently no Cluster Coordinator..." I have attached the nifi-app.log. Can someone provide any guidance/recommendation on how to resolve this issue? Thank you! VR, Dave On Monday, January 16, 2023 at 11:14:16 AM EST, Isha Lamboo <[email protected]<mailto:[email protected]>> wrote: Hi Dave, There is no separate installation procedure for NiFi as a cluster, it only takes some configuration changes as described in the basic cluster setup. You can install and configure the servers separately, then apply the same configuration changes to each to join them to the cluster, or you can install a single NiFi server and get it working as a cluster node with two missing peers, then copy over the entire installation to the other nodes and replace all host-specific settings like the node identity and zookeeper id. The first option is probably better for your first attempt, as it is easier to confirm you have a working solution along the way. Regards, Isha Van: David Snyder via users <[email protected]<mailto:[email protected]>> Verzonden: maandag 16 januari 2023 16:25 Aan: [email protected]<mailto:[email protected]> Onderwerp: Basic Cluster Install of Nifi Hello - I am following the instructions for a Basic Cluster Setup from the nifi apache site. I am using 3 Ubuntu 22.4 clients to set up the cluster. I am new to nifi. My question is, so I first perform installs of Nifi on each of the 3 clients first, or do I install nifi in clustering mode on the 3 clients? Thank you for any guidance/recommendations! VR, Dave Snyder
