<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Nodes Not Joining the NiFi Cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365556#M239353</link>
    <description>&lt;P&gt;Following the Apache walkthrough titled "NiFi Cluster Using NiFi CA", i created a 3 node cluster using 3 separate aws instances.&amp;nbsp; However, when I access the GUI at &lt;A href="https://nifi1:9337" target="_blank" rel="noopener"&gt;https://nifi1:9337&lt;/A&gt;&amp;nbsp;(or nifi2, or nifi3), for nifi1 and nifi2, the GUI only reflects 2 nodes (nifi1 and nifi2 but not nifi3).&amp;nbsp; &lt;A href="https://nifi3:9337" target="_blank" rel="noopener"&gt;https://nifi3:9337&lt;/A&gt;&amp;nbsp;only reflects 1 node i.e., nifi3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an external zookeeper and these are the properties I changed in nifi.properties:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;nifi.cluster.is.node = true&lt;/LI&gt;&lt;LI&gt;nifi.cluster.load.balance.host = nifi[1,2,or 3]...depending on which host the nifi.properties file exists in&lt;/LI&gt;&lt;LI&gt;nifi.zookeeper.connect.string = zookeeper1 private IP address:2181, zookeeper2 private IP address:2181, etc...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also updated the authorizers.xml file, by adding the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in userGroupProvider section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial User Identity 1"&amp;gt;CN=ec2-user&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial User Identity 2"&amp;gt;CN=nifi1, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial User Identity 3"&amp;gt;CN=nifi2, OU=NIFI&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Initial User Identity 2"&amp;gt;CN=nifi3, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in accessPolicyProvider section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial Admin Identity"&amp;gt;CN=ec2-user&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Node Identity 1"&amp;gt;CN=nifi1, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Node Identity 2"&amp;gt;CN=nifi2, OU=NIFI&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Node Identity 3"&amp;gt;CN=nifi3, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the logs of each of the nodes, and there weren't any WARNINGS or errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas/guidance on why all 3 nodes are not joining the cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any ideas/guidance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 13:00:30 GMT</pubDate>
    <dc:creator>davehkd</dc:creator>
    <dc:date>2023-03-07T13:00:30Z</dc:date>
    <item>
      <title>Nodes Not Joining the NiFi Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365556#M239353</link>
      <description>&lt;P&gt;Following the Apache walkthrough titled "NiFi Cluster Using NiFi CA", i created a 3 node cluster using 3 separate aws instances.&amp;nbsp; However, when I access the GUI at &lt;A href="https://nifi1:9337" target="_blank" rel="noopener"&gt;https://nifi1:9337&lt;/A&gt;&amp;nbsp;(or nifi2, or nifi3), for nifi1 and nifi2, the GUI only reflects 2 nodes (nifi1 and nifi2 but not nifi3).&amp;nbsp; &lt;A href="https://nifi3:9337" target="_blank" rel="noopener"&gt;https://nifi3:9337&lt;/A&gt;&amp;nbsp;only reflects 1 node i.e., nifi3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an external zookeeper and these are the properties I changed in nifi.properties:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;nifi.cluster.is.node = true&lt;/LI&gt;&lt;LI&gt;nifi.cluster.load.balance.host = nifi[1,2,or 3]...depending on which host the nifi.properties file exists in&lt;/LI&gt;&lt;LI&gt;nifi.zookeeper.connect.string = zookeeper1 private IP address:2181, zookeeper2 private IP address:2181, etc...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also updated the authorizers.xml file, by adding the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in userGroupProvider section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial User Identity 1"&amp;gt;CN=ec2-user&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial User Identity 2"&amp;gt;CN=nifi1, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial User Identity 3"&amp;gt;CN=nifi2, OU=NIFI&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Initial User Identity 2"&amp;gt;CN=nifi3, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in accessPolicyProvider section:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Initial Admin Identity"&amp;gt;CN=ec2-user&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Node Identity 1"&amp;gt;CN=nifi1, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Node Identity 2"&amp;gt;CN=nifi2, OU=NIFI&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Node Identity 3"&amp;gt;CN=nifi3, OU=NIFI&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the logs of each of the nodes, and there weren't any WARNINGS or errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas/guidance on why all 3 nodes are not joining the cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any ideas/guidance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 13:00:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365556#M239353</guid>
      <dc:creator>davehkd</dc:creator>
      <dc:date>2023-03-07T13:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Not Joining the NiFi Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365657#M239366</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102685"&gt;@davehkd&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Parse the nifi-app.log for messages related to heartbeat and make sure that that all you nodes are creating and sending heartbeats to the ZK elected cluster coordinator.&lt;BR /&gt;&lt;BR /&gt;Check the nifi-app.log on the node elected as the cluster coordinator (This would be either node 1 or 2 since they show 2/2 connected nodes) for heartbeat messages and you should see it receiving heartbeats from all three nodes.&lt;BR /&gt;&lt;BR /&gt;If it is not receiving heartbeats from node 3, make sure their are no network or DNS resolution issue between node 3 and the other 2 nodes in the cluster.&lt;BR /&gt;&lt;BR /&gt;Verify that their are no typos in the nifi.properties on node 3 in the following sections:&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster_common_properties" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster_common_properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster_node_properties" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#cluster_node_properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#zookeeper-properties" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#zookeeper-properties&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#web-properties" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#web-properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security_properties" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security_properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check the nifi-user.log on the elected cluster coordinator and on node 3 for any TLS handshake exceptions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:53:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365657#M239366</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-03-08T13:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Not Joining the NiFi Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365769#M239386</link>
      <description>&lt;P&gt;Hello Matt, thanks for your input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the nifi-app.log on nifi1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did scan through looking for heartbeat messages in regard to nifi3, and only saw 2 identical separate entries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Process Cluster Protocol Request - 25] o.a.n.c.p.impl.SocketProtocolListener Finished processing request 7f0cacaa-... (type=NODE_STATUS_CHANGE, length=1069 bytes) from nifi3 in 174 millis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had added all 3 nodes to the hosts file of each respective node, and tested that they could all successfully ping each other i.e., the hosts file entries are correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took a look at the nifi-app.log for nifi2, and saw these entries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Process Cluster Protocol Request-1]o.a.n.c.c.node.NodeClusterCoordinator No existing node with ID: 5bxxx; will add Node as NodeIdentifier[UUID=5bxxxx, API Address = nifi3:9443, Cluster Socket Address = nifi3:11443, Load Balance Address = nifi3:6342, Site-to-Site Raw Address = nifi3:10443, Site-to-Site HTTP Address = nifi.9443, Site-to-Site Secure = true, Node Identities =[]]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Process Protocol Request-1] o.a.n.c.c.flow.PopularVoteFlowElection Vote cast by nifi3:9443; this flow now has 1 votes&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not see any TLS issues in any of the logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went through the nifi.properties and did not see any miskeys...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 12:13:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365769#M239386</guid>
      <dc:creator>davehkd</dc:creator>
      <dc:date>2023-03-09T12:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Not Joining the NiFi Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365792#M239393</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102685"&gt;@davehkd&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I would need to have access to the nifi-app.log file(s) from each node to dig in deeper.&lt;BR /&gt;Did you copy the flow.xml.gz,&amp;nbsp; flow.json.gz, users.xml, and authorizations.xml files from NiFi node 1 or 2 to NIFi node 3?&amp;nbsp; These files all need to match in order for a node to join the cluster.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. The UI of nifi1 or nifi2&amp;nbsp; shows "2/2" in the status bar just along top of canvas?&lt;BR /&gt;2. The UI of nifi3 shows "1/1" in the status bar just along the top of the canvas?&lt;BR /&gt;&lt;BR /&gt;If both above are true, this indicates nifi3 is member of a different cluster.&lt;BR /&gt;Possible result if issue with your ZK or using a different ZK root node (&lt;SPAN&gt;nifi.zookeeper.root.node).&amp;nbsp; Check for any leading or trailing whitespace in your configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;You may also want to inspect your ZK logs for the connections coming from all three nodes.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 19:57:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nodes-Not-Joining-the-NiFi-Cluster/m-p/365792#M239393</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-03-09T19:57:32Z</dc:date>
    </item>
  </channel>
</rss>

