<?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: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388773#M246772</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110969"&gt;@yuanhao1999&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 16:53:16 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2024-06-04T16:53:16Z</dc:date>
    <item>
      <title>Nifi: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388769#M246769</link>
      <description>&lt;P&gt;Hi Cloudera&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;We run nifi as a standalone instance in a docker container in on all our stages, the statemanagement provider used by our instance is the local WAL backed provider.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;: We observed that the flowfiles in front of one of our processor groups stopped to be ingested once in a while and it happens on all our stages without noticeable pattern. The flowfile concurrency policy of the processor group that stopped ingesting data is set to SINGLE_BATCH_PER_NODE and the outbound policy is set to BATCH_OUTPUT. The ingestion should continue since the processor group had already send out every flowfile in it, but it stopped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is only one brutal solution from our side(We need to delete the processor group and restore it from nifi registry again) and the occurrence of this issue had impacted our data ingestion.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7a41d443-372d-4ac7-8f58-b1b303865b6c.png" style="width: 508px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40879iA4F61D9C0563C592/image-dimensions/508x363?v=v2" width="508" height="363" role="button" title="7a41d443-372d-4ac7-8f58-b1b303865b6c.png" alt="7a41d443-372d-4ac7-8f58-b1b303865b6c.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40880i6E8950C60923FC4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in the screenshot that the processor group 'Delete before Insert' has no more flowfile to output but still it does not ingest the data queued in the input port&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the log file I found the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="code panel"&gt;&lt;DIV class="codeContent panelContent"&gt;&lt;PRE&gt;2024-06-03 11:34:01,772 TRACE [Timer-Driven &lt;SPAN class="code-object"&gt;Process&lt;/SPAN&gt; &lt;SPAN class="code-object"&gt;Thread&lt;/SPAN&gt;-15] o.apache.nifi.groups.StandardDataValve Will not allow data to flow into StandardProcessGroup[identifier=5eb0ad69-e8ed-3ba0-52da-af94fb9836cd,name=Delete before Insert] because Outbound Policy is Batch Output and valve is already open to allow data to flow out of group&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Also in the diagnostics, I found the following for the 'Delete before Insert' processor group:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="code panel"&gt;&lt;DIV class="codeContent panelContent"&gt;&lt;PRE&gt;&lt;SPAN class="code-object"&gt;Process&lt;/SPAN&gt; Group e6510a87-aa78-3268-1b11-3c310f0ad144, Name = Search and Delete existing reports(This is the parent processor group of the Delete before Insert)
Currently Have Data Flowing In: []
Currently Have Data Flowing Out: [StandardProcessGroup[identifier=5eb0ad69-e8ed-3ba0-52da-af94fb9836cd,name=Delete before Insert]]
Reason &lt;SPAN class="code-keyword"&gt;for&lt;/SPAN&gt; Not allowing data to flow in:
&amp;nbsp; &amp;nbsp; Data Valve is already allowing data to flow out of group:
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StandardProcessGroup[identifier=5eb0ad69-e8ed-3ba0-52da-af94fb9836cd,name=Delete before Insert]
Reason &lt;SPAN class="code-keyword"&gt;for&lt;/SPAN&gt; Not allowing data to flow out:
&amp;nbsp; &amp;nbsp; Output is Allowed:
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StandardProcessGroup[identifier=5eb0ad69-e8ed-3ba0-52da-af94fb9836cd,name=Delete before Insert] &lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Which is clearly&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;not correct&lt;/STRONG&gt;. since there are currently not data flowing out from the 'Delete before Insert' processor group&lt;/P&gt;&lt;P&gt;If you have any insight regarding this issue, it would be great if you car share it with me, also I think this could possibly be a nifi internal bug so I also opened an issue in nifi's jira page&amp;nbsp;&lt;A href="https://issues.apache.org/jira/projects/NIFI/issues/NIFI-13340?filter=allopenissues" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 14:01:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388769#M246769</guid>
      <dc:creator>yuanhao1999</dc:creator>
      <dc:date>2024-06-04T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388773#M246772</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110969"&gt;@yuanhao1999&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38301"&gt;@mburgess&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 16:53:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388773#M246772</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-06-04T16:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388776#M246775</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110969"&gt;@yuanhao1999&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I see that you raised an Apache Jira for this same issue.&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-13340" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-13340&lt;/A&gt;&lt;BR /&gt;and that your issue is likely related to:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-13281" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-13281&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When you delete and re-create import the Process Group from NiFi-Registry, all your components will get new random UUIDs assigned to them.&amp;nbsp; That effectively eliminates the stuck condition.&lt;BR /&gt;&lt;BR /&gt;Where changes being made to process group configuration while FlowFile(s) were still queued in a connection within the Process Group?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community 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;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 17:02:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388776#M246775</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-06-04T17:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388786#M246776</link>
      <description>&lt;P&gt;Hey Matt!&lt;/P&gt;&lt;P&gt;Thanks for your reply, so do you mean that this is indeed likely a nifi's internal bug instead of some mis-configuration?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Yuanhao&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 06:17:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/388786#M246776</guid>
      <dc:creator>yuanhao1999</dc:creator>
      <dc:date>2024-06-05T06:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/389009#M246859</link>
      <description>&lt;P&gt;For those who's interested in this issue&lt;/P&gt;&lt;P&gt;The nifi dev team had relied and expect to fix this problem in 2.0.0-M4&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 09:11:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/389009#M246859</guid>
      <dc:creator>yuanhao1999</dc:creator>
      <dc:date>2024-06-11T09:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: Flowfile stuck in front of a processor group when flowfile concurrency is set to single batch per node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/389027#M246867</link>
      <description>&lt;P&gt;Yes, i believe this to be a legitimate NiFi bug.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 15:22:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Flowfile-stuck-in-front-of-a-processor-group-when/m-p/389027#M246867</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-06-11T15:22:46Z</dc:date>
    </item>
  </channel>
</rss>

