<?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 Re: All Nodes are disconnected from NiFI Cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/All-Nodes-are-disconnected-from-NiFI-Cluster/m-p/187398#M149499</link>
    <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer nofollow noopener noreferrer" href="http://@Malthe%20Borch" target="_blank"&gt;&lt;EM&gt;@Malthe Borch&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Nifi cluster coordinator relays on the zookeeper for the election. NiFi employs a Zero-Master Clustering paradigm. Each node in the cluster performs the same tasks on the data, but each operates on a different set of data. One of the nodes is automatically elected (via Apache ZooKeeper) as the Cluster Coordinator. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;All nodes in the cluster will then send heartbeat/status information to this node, and this node is responsible for disconnecting nodes that do not report any heartbeat status for some amount of time. Additionally, when a new node elects to join the cluster, the new node must first connect to the currently-elected Cluster Coordinator in order to obtain the most up-to-date flow. If the Cluster Coordinator determines that the node is allowed to join (based on its configured Firewall file), the current flow is provided to that node, and that node is able to join the cluster, assuming that the node’s copy of the flow matches the copy provided by the Cluster Coordinator. If the node’s version of the flow configuration differs from that of the Cluster Coordinator’s, the node will not join the cluster.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Checklist&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ensure you have 3 zookeepers (ensemble) to manage your Nifi cluster, and all should be up and running.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Walkthrough&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Stop all the Nifi instances&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Ensure the 3 zookeepers are up and running&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Start the Nifi one at a time&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Validate that one nifi has been elected coordinator as is PRIMARY &lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See screenshots&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110406-nifi-cluster.png" style="width: 1586px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18725i06E96163516D0FBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="110406-nifi-cluster.png" alt="110406-nifi-cluster.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Coordinator elected&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110364-nifi-cluster-coordinator.png" style="width: 1544px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18726iFF623BC466E4B100/image-size/medium?v=v2&amp;amp;px=400" role="button" title="110364-nifi-cluster-coordinator.png" alt="110364-nifi-cluster-coordinator.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 08:02:59 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-08-18T08:02:59Z</dc:date>
  </channel>
</rss>

