<?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 : Startup exception &amp;quot;Cluster is still in the process of voting on the appropriate Data Flow&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166722#M129062</link>
    <description>&lt;P&gt;I think you have to check the log on the zookeeper side, my advice is to increase the value of &lt;/P&gt;&lt;P&gt;"nifi.zookeeper.connect.timeout" and "nifi.zookeeper.session.timeout" settings.&lt;/P&gt;&lt;P&gt;Also check your network connection between the Zookeeper servers and Nifi servers, Network latency can cause the issue.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 18:39:36 GMT</pubDate>
    <dc:creator>bsaoula</dc:creator>
    <dc:date>2019-02-21T18:39:36Z</dc:date>
    <item>
      <title>NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166714#M129054</link>
      <description>&lt;P&gt;
	I have 3 node NiFi cluster, during the startup I am getting following exception. Please advise.&lt;/P&gt;&lt;P&gt;
	2017-02-08 04:17:23,356 INFO [main] o.a.n.c.l.e.CuratorLeaderElectionManager CuratorLeaderElectionManager[stopped=false] Attempted to register Leader Election for role 'Cluster Coordinator' but this role is already registered
2017-02-08 04:17:30,108 INFO [Curator-Framework-0] o.a.c.f.state.ConnectionStateManager State change: SUSPENDED
2017-02-08 04:17:30,115 INFO [Curator-ConnectionStateManager-0] o.a.n.c.l.e.CuratorLeaderElectionManager org.apache.nifi.controller.leader.election.CuratorLeaderElectionManager$ElectionListener@7376a113 Connection State changed to SUSPENDED
2017-02-08 04:17:30,126 ERROR [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl Background operation retry gave up
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkBackgroundRetry(CuratorFrameworkImpl.java:728) [curator-framework-2.11.0.jar:na]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:857) [curator-framework-2.11.0.jar:na]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:809) [curator-framework-2.11.0.jar:na]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:64) [curator-framework-2.11.0.jar:na]
        at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:267) [curator-framework-2.11.0.jar:na]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_77]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_77]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77]&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 00:33:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166714#M129054</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-02-09T00:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166715#M129055</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9842/mpandit.html" nodeid="9842"&gt;@milind pandit&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Tell us something about your particular NiFi installation method:
1. Was this NiFi cluster installed via Ambari or command line?
2. Are you using NiFi internal zookeepers or external zookeepers?

Is this the entire stack trace from the nifi-app log?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 01:22:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166715#M129055</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-02-09T01:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166716#M129056</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; This is command line installation (nifi 1.1.1). I am using the embedded zookeeper(internal). The stack trace is first occurrence of error which repeats continuously.   &lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 01:42:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166716#M129056</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-02-09T01:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166717#M129057</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/9842/mpandit.html" nodeid="9842"&gt;@milind pandit&lt;/A&gt;&lt;P&gt;The errors you are seeing would be expected during startup since your ZK will not establish quorum until all three nodes have completely started.  As a node goes through its startup process it will being begin trying to establish zk quorum between all other zk nodes.  Those other nodes may not be running yet if the other nodes are still starting as well, thus producing a lot of ERROR messages. Using the embedded zk is not recommended in a production environment since they are stopped and started along with NiFi.  It is best to use dedicated external zookeepers in production. &lt;/P&gt;&lt;P&gt;If the errors continue to persist even after all three nodes are fully running, check the below:&lt;/P&gt;&lt;P&gt;1. Verify that you have enabled the embedded zk on all three of your nodes.&lt;/P&gt;&lt;P&gt;2. Verify the zk nodes on each of your servers started and bound to the configured zk ports configured in your zookeepeer.properties file.&lt;/P&gt;&lt;P&gt;3. Make sure you are using resolvable hostnames for each of your zk nodes.&lt;/P&gt;&lt;P&gt;4. Make sure you do not have any firewalls that would prevent your NiFi nodes from being able to communicate between each other over the configured zk hostnames and ports.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 22:51:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166717#M129057</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-02-09T22:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166718#M129058</link>
      <description>&lt;P&gt;I had the same message in the nifi-app.log:&lt;/P&gt;&lt;PRE&gt;2018-01-22 16:06:42,479 INFO [NiFi Web Server-21] o.a.n.w.a.c.IllegalClusterStateExceptionMapper org.apache.nifi.cluster.manager.exception.IllegalClusterStateException: Cluster is still in the process of voting on the appropriate Data Flow.. Returning Conflict response.&lt;/PRE&gt;&lt;P&gt;But the cause was different&lt;/P&gt;&lt;PRE&gt;Caused by: java.lang.RuntimeException: Found Invalid ProcessGroup ID for Destination: 58db74de-f860-3152-9244-819f0bb09e39&lt;BR /&gt;        at org.apache.nifi.controller.StandardFlowSynchronizer.addProcessGroup(StandardFlowSynchronizer.java:1186) ~[nifi-framework-core-1.1.0.2.1.4.0-5.jar:1.1.0.2.1.4.0-5]
        at org.apache.nifi.controller.StandardFlowSynchronizer.addProcessGroup(StandardFlowSynchronizer.java:1087) ~[nifi-framework-core-1.1.0.2.1.4.0-5.jar:1.1.0.2.1.4.0-5]
        at org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:286) ~[nifi-framework-core-1.1.0.2.1.4.0-5.jar:1.1.0.2.1.4.0-5]
&lt;/PRE&gt;&lt;DIV&gt;The flow xml was indeed corrupted on all nodes. Some sort of orphaned connection, pointing to a removed group ID.&lt;BR /&gt;Solution: restore one before the last file from flow archive directory (on all cluster nodes). The last archive flow is always the same as the current flow in conf.&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2018 18:53:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166718#M129058</guid>
      <dc:creator>rzuidhof</dc:creator>
      <dc:date>2018-01-23T18:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166719#M129059</link>
      <description>&lt;P&gt;I Have faced similar error. In my case Nifi was running fine but in cluster, nodes was not connected. In nifi-app.log found below errors. &lt;/P&gt;&lt;PRE&gt;ERROR [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImpl Background retry gave up
org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
&lt;/PRE&gt;&lt;P&gt;Solution - ZK services was not running. I have started first then started Nifi cluster. Now Nifi nodes are connected properly in a cluster and cluster is  running fine.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:37:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166719#M129059</guid>
      <dc:creator>suraj_lawand</dc:creator>
      <dc:date>2018-04-24T14:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166720#M129060</link>
      <description>&lt;P&gt;@Lawand Suraj   Hi .please provide details how you fixed issue ? Thank you.i have embedded zk.and 6 nodes.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 01:20:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166720#M129060</guid>
      <dc:creator>4pingwin</dc:creator>
      <dc:date>2018-08-31T01:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166721#M129061</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/525/mclarke.html"&gt;Matt Clarke&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I Have faced similar error.&lt;/P&gt;&lt;PRE&gt;ERROR [Curator-Framework-0] o.a.c.f.imps.CuratorFrameworkImplBackgroundretry gave uporg.apache.curator.CuratorConnectionLossException:KeeperErrorCode=ConnectionLoss&lt;/PRE&gt;&lt;P&gt;Nifi version 1.7 &lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:55:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166721#M129061</guid>
      <dc:creator>4pingwin</dc:creator>
      <dc:date>2018-08-31T15:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Cluster : Startup exception "Cluster is still in the process of voting on the appropriate Data Flow"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166722#M129062</link>
      <description>&lt;P&gt;I think you have to check the log on the zookeeper side, my advice is to increase the value of &lt;/P&gt;&lt;P&gt;"nifi.zookeeper.connect.timeout" and "nifi.zookeeper.session.timeout" settings.&lt;/P&gt;&lt;P&gt;Also check your network connection between the Zookeeper servers and Nifi servers, Network latency can cause the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 18:39:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Cluster-Startup-exception-quot-Cluster-is-still-in-the/m-p/166722#M129062</guid>
      <dc:creator>bsaoula</dc:creator>
      <dc:date>2019-02-21T18:39:36Z</dc:date>
    </item>
  </channel>
</rss>

