<?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 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/289599#M214361</link>
    <description>&lt;P&gt;Hi , Am a beginner in NiFi and just started to know cluster configurations an all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am trying to run Nifi as a 3 node cluster on Windows 10, with the configuration settings, set in all 3 conf files as mentioned below. But still its failing to start NiFi as a 3 node cluster. Please help in creating this cluster configuration&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Below are the settings done on my files&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;state-management.xml file&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;cluster-provider&amp;gt;&lt;BR /&gt;&amp;lt;id&amp;gt;zk-provider&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;lt;class&amp;gt;org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;lt;property name="Connect String"&amp;gt;&lt;STRONG&gt;node1:2181,node2:2181,node3:2181&lt;/STRONG&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Root Node"&amp;gt;/nifi&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Session Timeout"&amp;gt;10 seconds&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Access Control"&amp;gt;Open&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/cluster-provider&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;zookeper properties&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;dataDir=./state/zookeeper&lt;BR /&gt;autopurge.snapRetainCount=30&lt;BR /&gt;&lt;STRONG&gt;server.1=node1:2888:3888&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;server.2=node2:2888:3888&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;server.3=node3:2888:3888&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;nifi properties:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;nifi.web.http.host=node1&lt;BR /&gt;nifi.web.http.port=8080&lt;BR /&gt;nifi.cluster.is.node=true&lt;BR /&gt;nifi.cluster.node.address=node1&lt;BR /&gt;nifi.cluster.node.protocol.port=11122&lt;BR /&gt;nifi.zookeeper.connect.string=node1:2181,node2:2181,node3:2181&lt;BR /&gt;nifi.zookeeper.root.node=/nifi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;In other 2 nodes the host name are placed respectively as (node2 , node3)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\nifi-1.11.0-bin\Node1\bin&amp;gt;run-nifi.bat&lt;BR /&gt;2020-02-11 20:29:20,237 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...&lt;BR /&gt;2020-02-11 20:29:20,238 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: C:\NIFI-1~1.0-B\Node1&lt;BR /&gt;2020-02-11 20:29:20,239 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\Program Files\Java\jdk1.8.0_241\bin\java.exe -classpath C:\NIFI-1~1.0-B\Node1\.\conf;C:\NIFI-1~1.0-B\Node1\.\lib\javax.servlet-api-3.1.0.jar;C:\NIFI-1~1.0-B\Node1\.\lib\jcl-over-slf4j-1.7.26.jar;C:\NIFI-1~1.0-B\Node1\.\lib\jetty-schemas-3.1.jar;C:\NIFI-1~1.0-B\Node1\.\lib\jul-to-slf4j-1.7.26.jar;C:\NIFI-1~1.0-B\Node1\.\lib\log4j-over-slf4j-1.7.26.jar;C:\NIFI-1~1.0-B\Node1\.\lib\logback-classic-1.2.3.jar;C:\NIFI-1~1.0-B\Node1\.\lib\logback-core-1.2.3.jar;C:\NIFI-1~1.0-B\Node1\.\lib\nifi-api-1.11.0.jar;C:\NIFI-1~1.0-B\Node1\.\lib\nifi-framework-api-1.11.0.jar;C:\NIFI-1~1.0-B\Node1\.\lib\nifi-nar-utils-1.11.0.jar;C:\NIFI-1~1.0-B\Node1\.\lib\nifi-properties-1.11.0.jar;C:\NIFI-1~1.0-B\Node1\.\lib\nifi-runtime-1.11.0.jar;C:\NIFI-1~1.0-B\Node1\.\lib\slf4j-api-1.7.26.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dzookeeper.admin.enableServer=false -Dnifi.properties.file.path=C:\NIFI-1~1.0-B\Node1\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=53535 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=C:\NIFI-1~1.0-B\Node1\bin\..\\logs org.apache.nifi.NiFi&lt;BR /&gt;2020-02-11 20:29:20,554 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file C:\NIFI-1~1.0-B\Node1\bin\..\run\nifi.pid; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file&lt;BR /&gt;2020-02-11 20:29:20,561 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file C:\NIFI-1~1.0-B\Node1\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file&lt;BR /&gt;2020-02-11 20:29:20,573 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 4284&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;______________________________&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\nifi-1.11.0-bin\Node1\bin&amp;gt;status-nifi.bat&lt;BR /&gt;20:31:57.265 [main] DEBUG org.apache.nifi.bootstrap.NotificationServiceManager - Found 0 service elements&lt;BR /&gt;20:31:57.271 [main] INFO org.apache.nifi.bootstrap.NotificationServiceManager - Successfully loaded the following 0 services: []&lt;BR /&gt;20:31:57.272 [main] INFO org.apache.nifi.bootstrap.RunNiFi - Registered no Notification Services for Notification Type NIFI_STARTED&lt;BR /&gt;20:31:57.273 [main] INFO org.apache.nifi.bootstrap.RunNiFi - Registered no Notification Services for Notification Type NIFI_STOPPED&lt;BR /&gt;20:31:57.274 [main] INFO org.apache.nifi.bootstrap.RunNiFi - Registered no Notification Services for Notification Type NIFI_DIED&lt;BR /&gt;20:31:57.277 [main] DEBUG org.apache.nifi.bootstrap.Command - Status File: C:\NIFI-1~1.0-B\Node1\bin\..\run\nifi.status&lt;BR /&gt;20:31:57.278 [main] DEBUG org.apache.nifi.bootstrap.Command - Status File: C:\NIFI-1~1.0-B\Node1\bin\..\run\nifi.status&lt;BR /&gt;20:31:57.279 [main] DEBUG org.apache.nifi.bootstrap.Command - Properties: {pid=4284, port=53536}&lt;BR /&gt;20:31:57.280 [main] DEBUG org.apache.nifi.bootstrap.Command - Pinging 53536&lt;BR /&gt;20:31:58.343 [main] DEBUG org.apache.nifi.bootstrap.Command - Process with PID 4284 is not running&lt;BR /&gt;20:31:58.345 [main] INFO org.apache.nifi.bootstrap.Command - Apache NiFi is not running&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;&lt;STRONG&gt;This is how my folder structure is:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="folder structure.png" style="width: 819px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26313i8288EBB08C4F6AF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="folder structure.png" alt="folder structure.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;below is the image of Node 2 and node 3 cmd prompt.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nifi error.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26312i71282090176AFA98/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nifi error.PNG" alt="Nifi error.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nifi UI.PNG" style="width: 930px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26311i43BCF0884F064658/image-size/large?v=v2&amp;amp;px=999" role="button" title="nifi UI.PNG" alt="nifi UI.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 06:30:48 GMT</pubDate>
    <dc:creator>Sush217</dc:creator>
    <dc:date>2020-02-12T06:30:48Z</dc:date>
  </channel>
</rss>

