<?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: Nifi cluster setup using Nifi 1.0 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-cluster-setup-using-Nifi-1-0/m-p/163297#M45218</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3378/reyaan26.html" nodeid="3378"&gt;@Anwaar Siddiqui&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Anwaar,&lt;/P&gt;&lt;P&gt;The myid file value has to match the list of zookeeper servers in the order they are listed in the state-management.xml file.&lt;/P&gt;&lt;P&gt;For example in the state-management file, we list the zookeeper servers&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Connect String"&amp;gt;daves-nifi-cluster-2:2181,daves-nifi-cluster-3:2181,daves-nifi-cluster-4:2181&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;so on server daves-nifi-cluster-2 the value in the myid file on that server would be 1&lt;/P&gt;&lt;P&gt;so on server daves-nifi-cluster-3 the value in the myid file on that server would be 2&lt;/P&gt;&lt;P&gt;so on server daves-nifi-cluster-4 the value in the myid file on that server would be 3&lt;/P&gt;&lt;P&gt;In HDF 2.0/NiFi 1.0 you need to create a state/zookeeper directory on the same level as the conf, not inside of conf, directory, make sure you put the myid file in that state/zookeeper directory &lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2016 22:28:43 GMT</pubDate>
    <dc:creator>Wynner</dc:creator>
    <dc:date>2016-11-03T22:28:43Z</dc:date>
    <item>
      <title>Nifi cluster setup using Nifi 1.0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-cluster-setup-using-Nifi-1-0/m-p/163296#M45217</link>
      <description>&lt;P&gt;  I am setting up a mutlinode cluster using Nifi 1.x and HDF 2.0.1 ,but getting below error:- &lt;/P&gt;&lt;PRE&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowController': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: ./state/zookeeper/myid file is missing
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1585) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1060) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.RELEASE]
I have created myid at each node . each myid file has 1 ,2 and 3 as value.&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Nov 2016 19:10:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-cluster-setup-using-Nifi-1-0/m-p/163296#M45217</guid>
      <dc:creator>reyaan26</dc:creator>
      <dc:date>2016-11-03T19:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi cluster setup using Nifi 1.0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-cluster-setup-using-Nifi-1-0/m-p/163297#M45218</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3378/reyaan26.html" nodeid="3378"&gt;@Anwaar Siddiqui&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Anwaar,&lt;/P&gt;&lt;P&gt;The myid file value has to match the list of zookeeper servers in the order they are listed in the state-management.xml file.&lt;/P&gt;&lt;P&gt;For example in the state-management file, we list the zookeeper servers&lt;/P&gt;&lt;P&gt;&amp;lt;property name="Connect String"&amp;gt;daves-nifi-cluster-2:2181,daves-nifi-cluster-3:2181,daves-nifi-cluster-4:2181&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;so on server daves-nifi-cluster-2 the value in the myid file on that server would be 1&lt;/P&gt;&lt;P&gt;so on server daves-nifi-cluster-3 the value in the myid file on that server would be 2&lt;/P&gt;&lt;P&gt;so on server daves-nifi-cluster-4 the value in the myid file on that server would be 3&lt;/P&gt;&lt;P&gt;In HDF 2.0/NiFi 1.0 you need to create a state/zookeeper directory on the same level as the conf, not inside of conf, directory, make sure you put the myid file in that state/zookeeper directory &lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 22:28:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-cluster-setup-using-Nifi-1-0/m-p/163297#M45218</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2016-11-03T22:28:43Z</dc:date>
    </item>
  </channel>
</rss>

