<?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: EnforceOrder  Inactive Timeout not working in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394510#M248733</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Here is the configuration attached. I am setting&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;Inactive Timeout as 2 min. Though after 10 min still the view state is not clear. Please refer to both screenshots. Flow is as below&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;ListFile--&amp;gt;UpdateAttribute for Order attribute--&amp;gt;EnforceOrder--&amp;gt; Further processing through other processor&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;If I send the same file again after&amp;nbsp;Inactive Timeout then as the view state does not get clear it moves to the Skipped queue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;What I see as an observation is that if I send the flow file again after&amp;nbsp;Inactive Timeout then the flowfile goes to the Skipped queue and at the same time the state gets clear. So, I need to do some special handling. please suggest&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnforceOrder_Inactive_Timeout.png" style="width: 975px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41989i9DF1ACBD15E1555E/image-size/large?v=v2&amp;amp;px=999" role="button" title="EnforceOrder_Inactive_Timeout.png" alt="EnforceOrder_Inactive_Timeout.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnforceOrderStatenotclearing.png" style="width: 959px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41991iC552EB553CABD1E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="EnforceOrderStatenotclearing.png" alt="EnforceOrderStatenotclearing.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 18:46:09 GMT</pubDate>
    <dc:creator>varungupta</dc:creator>
    <dc:date>2024-10-03T18:46:09Z</dc:date>
    <item>
      <title>EnforceOrder  Inactive Timeout not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394491#M248728</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;EnforceOrder in order to sort the flow files. This procesosr is maintaning state and i want to clear in it some regular interval for e.g. 4 min. I am runnig NIFI over a cluster. I am clearing the state through&amp;nbsp;&lt;SPAN class="table-cell required"&gt;Inactive Timeout propery by setting it 4 min. I can see some time state is clear and most of the time not. Please help in a resolution for how clear state consistently.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 13:15:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394491#M248728</guid>
      <dc:creator>varungupta</dc:creator>
      <dc:date>2024-10-03T13:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: EnforceOrder  Inactive Timeout not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394498#M248731</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112330"&gt;@varungupta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The EnforceOrder processor maintain state locally specific to each node in the cluster.&amp;nbsp; When you right click on the processor an view state, you are seeing the reported retained local state form each node.&amp;nbsp; The purge of state will only happen on a specific node where the criteria necessary for purge has been met.&lt;BR /&gt;&lt;BR /&gt;Might be helpful to share your processor configuration here including properties and scheduling.&lt;BR /&gt;&lt;BR /&gt;How are the Source FlowFiles being ingested and fed to this processor?&lt;BR /&gt;&lt;BR /&gt;You can look at lineage on the EnforceOrder processor to see FlowFile history.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:51:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394498#M248731</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-03T15:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: EnforceOrder  Inactive Timeout not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394510#M248733</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Here is the configuration attached. I am setting&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;Inactive Timeout as 2 min. Though after 10 min still the view state is not clear. Please refer to both screenshots. Flow is as below&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;ListFile--&amp;gt;UpdateAttribute for Order attribute--&amp;gt;EnforceOrder--&amp;gt; Further processing through other processor&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;If I send the same file again after&amp;nbsp;Inactive Timeout then as the view state does not get clear it moves to the Skipped queue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="gmail-table-cell gmail-required"&gt;What I see as an observation is that if I send the flow file again after&amp;nbsp;Inactive Timeout then the flowfile goes to the Skipped queue and at the same time the state gets clear. So, I need to do some special handling. please suggest&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnforceOrder_Inactive_Timeout.png" style="width: 975px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41989i9DF1ACBD15E1555E/image-size/large?v=v2&amp;amp;px=999" role="button" title="EnforceOrder_Inactive_Timeout.png" alt="EnforceOrder_Inactive_Timeout.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnforceOrderStatenotclearing.png" style="width: 959px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41991iC552EB553CABD1E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="EnforceOrderStatenotclearing.png" alt="EnforceOrderStatenotclearing.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 18:46:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394510#M248733</guid>
      <dc:creator>varungupta</dc:creator>
      <dc:date>2024-10-03T18:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: EnforceOrder  Inactive Timeout not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394581#M248748</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112330"&gt;@varungupta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Tell me a bit more about your ListFile processor configuration.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is the input directory a shared mount across all your nodes or does each node have a unique set of files in the input directory?&lt;/LI&gt;&lt;LI&gt;Is ListFile configured for execution of "All nodes" or "Primary node"?&lt;/LI&gt;&lt;LI&gt;How many files are being listed when ListFile is executing (Is it less then 10,000)?&lt;/LI&gt;&lt;LI&gt;How often is ListFile scheduled to run?&lt;/LI&gt;&lt;LI&gt;Is List File traversing sub-directories for files?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I assume you are extracting the sequenceNo from the filename.&lt;/P&gt;&lt;P&gt;As far as Enforce Order goes:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How are you handling the various relationships (routing via connection to where)?&lt;/LI&gt;&lt;LI&gt;Are you seeing FlowFiles routed to "overlook" relationship?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 16:50:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/EnforceOrder-Inactive-Timeout-not-working/m-p/394581#M248748</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-04T16:50:52Z</dc:date>
    </item>
  </channel>
</rss>

