<?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: GenerateFlowFile  &amp;quot;Failed to properly initialize Processor. If still scheduled to run&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/GenerateFlowFile-quot-Failed-to-properly-initialize/m-p/403434#M252069</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112053"&gt;@Bern&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately there is not enough information here to understand exactly what is going on.&lt;BR /&gt;&lt;BR /&gt;The only exception shared was related to an attempt to terminate a thread on some processor.&amp;nbsp; As far as why you see this, there is not enough information to say.&amp;nbsp; &amp;nbsp;It could be a bug in an older version, could be load issue, could be thread pool exhaustion, etc.&lt;BR /&gt;&lt;BR /&gt;Observations and questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You are running with a very old version of Apache NiFi release 6+ years ago and one of the first releases to offer the Load-Balanced connections feature which was very buggy when it first was introduced.&amp;nbsp; You would greatly benefit from upgrading for security fix and bug fixes reason.&lt;/LI&gt;&lt;LI&gt;You see to be using the load-balanced connections excessively.&amp;nbsp; It makes sense to redistribute NiFi FlowFiles in connections after your executeSQL processors, but i see no value in redistributing after RouteOnAttribute or on the failure connections.&amp;nbsp; This just adds excessive and unnecessary network traffic load.&lt;/LI&gt;&lt;LI&gt;I see you have ~1400 running components and a queue of ~265,000 FlowFiles. What is the CPU load average on each of yoru nodes and how many nodes do you have in your NiFi cluster?&lt;/LI&gt;&lt;LI&gt;What java version is being used?&amp;nbsp; Are Garbage Collection (GC) stats healthy.&amp;nbsp; How often is GC (partial and full) running?&amp;nbsp; How long is spent on GC?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Any other ERROR in your nifi-app.log?&lt;/LI&gt;&lt;LI&gt;Have you taken any thread dumps when you are having issues with processor component threads?&amp;nbsp; What did you observe there?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please help our community grow and thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 14:04:01 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-03-03T14:04:01Z</dc:date>
    <item>
      <title>GenerateFlowFile  "Failed to properly initialize Processor. If still scheduled to run"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GenerateFlowFile-quot-Failed-to-properly-initialize/m-p/399764#M250547</link>
      <description>&lt;P&gt;Dear Sirs, I have the following problem with my nifi cluster, it takes a long time to run a flow and when it does it presents the following error:&lt;/P&gt;&lt;P&gt;Failed to properly initialize Processor. If still scheduled to run,&lt;BR /&gt;NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed.&lt;BR /&gt;Failure is due to org.apache.nifi.processor.exception.TerminatedTaskException: org.apache.nifi.processor.exception.TerminatedTaskException&lt;/P&gt;&lt;P&gt;Nifi version: 1.11.4&lt;BR /&gt;Zookeeper: external, apache-zookeeper-3.6.3&lt;BR /&gt;&lt;BR /&gt;I performed the following actions seen in this previous post:&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-ListSFTP-Processor-Failed-to-properly-initialize/m-p/366854" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-ListSFTP-Processor-Failed-to-properly-initialize/m-p/366854&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My state-managemnet.&lt;BR /&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;node-1:2181,node-2:2181,node-3:2181&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;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and the zookeeper properties with the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server.1=node-1:2888:3888;2181&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server.2=node-2:2888:3888 ;2181&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server.3=node-3:2888:3888;2181&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please I need support, I waste a lot of time testing and implementing flows because of this problem&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error-nifi.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/43380i7CE864402D64A8E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="error-nifi.JPG" alt="error-nifi.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 20:29:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GenerateFlowFile-quot-Failed-to-properly-initialize/m-p/399764#M250547</guid>
      <dc:creator>Bern</dc:creator>
      <dc:date>2025-01-07T20:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: GenerateFlowFile  "Failed to properly initialize Processor. If still scheduled to run"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/GenerateFlowFile-quot-Failed-to-properly-initialize/m-p/403434#M252069</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112053"&gt;@Bern&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately there is not enough information here to understand exactly what is going on.&lt;BR /&gt;&lt;BR /&gt;The only exception shared was related to an attempt to terminate a thread on some processor.&amp;nbsp; As far as why you see this, there is not enough information to say.&amp;nbsp; &amp;nbsp;It could be a bug in an older version, could be load issue, could be thread pool exhaustion, etc.&lt;BR /&gt;&lt;BR /&gt;Observations and questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You are running with a very old version of Apache NiFi release 6+ years ago and one of the first releases to offer the Load-Balanced connections feature which was very buggy when it first was introduced.&amp;nbsp; You would greatly benefit from upgrading for security fix and bug fixes reason.&lt;/LI&gt;&lt;LI&gt;You see to be using the load-balanced connections excessively.&amp;nbsp; It makes sense to redistribute NiFi FlowFiles in connections after your executeSQL processors, but i see no value in redistributing after RouteOnAttribute or on the failure connections.&amp;nbsp; This just adds excessive and unnecessary network traffic load.&lt;/LI&gt;&lt;LI&gt;I see you have ~1400 running components and a queue of ~265,000 FlowFiles. What is the CPU load average on each of yoru nodes and how many nodes do you have in your NiFi cluster?&lt;/LI&gt;&lt;LI&gt;What java version is being used?&amp;nbsp; Are Garbage Collection (GC) stats healthy.&amp;nbsp; How often is GC (partial and full) running?&amp;nbsp; How long is spent on GC?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Any other ERROR in your nifi-app.log?&lt;/LI&gt;&lt;LI&gt;Have you taken any thread dumps when you are having issues with processor component threads?&amp;nbsp; What did you observe there?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please help our community grow and thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 14:04:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/GenerateFlowFile-quot-Failed-to-properly-initialize/m-p/403434#M252069</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-03-03T14:04:01Z</dc:date>
    </item>
  </channel>
</rss>

