Nodes Not Joining the NiFi Cluster
Following the Apache walkthrough titled "NiFi Cluster Using NiFi CA", i created a 3 node cluster using 3 separate aws instances. However, when I access the GUI at https://nifi1:9337 (or nifi2, or nifi3), for nifi1 and nifi2, the GUI only reflects 2 nodes (nifi1 and nifi2 but not nifi3). https://nifi3:9337 only reflects 1 node i.e., nifi3.
I am using an external zookeeper and these are the properties I changed in nifi.properties:
- nifi.cluster.is.node = true
- nifi.cluster.load.balance.host = nifi[1,2,or 3]...depending on which host the nifi.properties file exists in
- nifi.zookeeper.connect.string = zookeeper1 private IP address:2181, zookeeper2 private IP address:2181, etc...
Additionally, per the directions, I updated the state-management.xml file and added the list of zookeeper instances in the Connect String property i.e., zoo1private IP address:2181, etc...
I also updated the authorizers.xml file, by adding the following:
in userGroupProvider section:
<property name="Initial User Identity 1">CN=ec2-user</property>
<property name="Initial User Identity 2">CN=nifi1, OU=NIFI</property>
<property name="Initial User Identity 3">CN=nifi2, OU=NIFI</property>
<property name="Initial User Identity 2">CN=nifi3, OU=NIFI</property>
in accessPolicyProvider section:
<property name="Initial Admin Identity">CN=ec2-user</property>
<property name="Node Identity 1">CN=nifi1, OU=NIFI</property>
<property name="Node Identity 2">CN=nifi2, OU=NIFI</property>
<property name="Node Identity 3">CN=nifi3, OU=NIFI</property>
I checked the logs of each of the nodes, and there weren't any WARNINGS or errors.
Any ideas/guidance on why all 3 nodes are not joining the cluster?
Thank you for any ideas/guidance

