<?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: Unable to set up 3 Node NiFi cluster on Windows 10 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-up-3-Node-NiFi-cluster-on-Windows-10/m-p/289667#M214401</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/74015"&gt;@Sush217&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First thing i noticed here is that it appears that your are trying to start all three NiFi nodes on a single Windows machine.&amp;nbsp; Why?&amp;nbsp; You just add overhead with three NiFi nodes on one server.&amp;nbsp; Typical NiFi cluster setups are one NiFi instance per server.&lt;BR /&gt;&lt;BR /&gt;The NiFi properties file would need to be unique per each NiFi instance.&amp;nbsp; They cannot share any binding ports in common since only one node is going to be able to bind to a given port number.&lt;/P&gt;&lt;P&gt;This includes properties like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.remote.input.socket.port=
nifi.web.http.port= or nifi.web.https.port= (if secured)
nifi.cluster.node.protocol.port=&lt;/LI-CODE&gt;&lt;P&gt;the configured NiFi hostname also needs to be resolvable.&amp;nbsp; You are using node1, node2, and node3.&amp;nbsp; Since all your NiFI nodes are running on the same Windows server, those would all need to be resolvable to the Windows server IP or you could use same hostname for all three instance since they are running on the same host.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now you are also trying to use the embedded zookeeper which means each instance us going to try to standup and start its own zookeeper node.&amp;nbsp; So just like NiFi, these zookeeper nodes can not share the same port numbers.&amp;nbsp; So each cannot be configured to use 2181, 2888, and 3888.&amp;nbsp; Plus, just like NiFi, the hostnames node1, node 2, and node 3 would all need to be resolvable in DNS or the windows local hosts file.&amp;nbsp; Also not ideal to have multiple zookeeper nodes running on the same server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you looking to just play around with NiFi, you should just install a standalone instance of NiFi, or setup a single node cluster.&amp;nbsp; You can always add additional nodes to your 1 node cluster later by setting up additional servers with NiFi.&lt;BR /&gt;&lt;BR /&gt;As you have it configured currently, my guess here is that if you parse through the nifi-app.log for each of your nodes, you are going to see errors related to resolving each your node hostnames to IPs and then later see address already in use errors.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Matt&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 21:53:33 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2020-02-12T21:53:33Z</dc:date>
  </channel>
</rss>

