<?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 Processor stops suddenly in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Processor-stops-suddenly/m-p/383008#M244794</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101202"&gt;@PriyankaMondal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not clear by you statement:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if Nifi processor (any processor within a process group) stops suddenly due to load/any other issue&lt;/LI-CODE&gt;&lt;P&gt;You are saying you see a NiFi processor transition to a stopped state unexpectedly?&lt;BR /&gt;This should never happen.&lt;BR /&gt;Or are you saying the processor seems to dtop processing FlowFiles even though it is currently in a running/started state?&lt;BR /&gt;&lt;BR /&gt;NiFi queues FlowFiles in connection between processor components.&amp;nbsp; A FlowFile is not removed from the inbound connection to a processor component until that FlowFile has been successfully processed by the consuming processor.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The FlowFile consist of two parts:&lt;BR /&gt;1. FlowFile attributes/metadata that is persisted in the NiFi flowfile_repository.&lt;BR /&gt;2. FlowFile content persisted within claims inside the content_repository.&amp;nbsp;&lt;BR /&gt;To protect from data loss these repositories should be using protected storage such as RAID.&lt;BR /&gt;&lt;BR /&gt;So if NiFi were to suddenly crash or server itself crash, when NiFi is restarted on that down node it will load its flow and then load the FlowFile back in to the connections.&amp;nbsp; Processing will begin again against those FlowFiles by downstream processor component.&lt;BR /&gt;NiFi's design favors data duplication over data loss ir order to avoid data loss posibilities. For example:&amp;nbsp; Let's assume that a NiFi processor completed execution against a FlowFile resulting in writing something out to an external endpoint.&amp;nbsp; in response to that successful operation the processor would then move the FlowFile from the inbound connection to some a downstream relationship.&amp;nbsp; If NiFi were to crash in that very moment before the FlowFile was moved, on startup the same FlowFile would load in the inbound connection and get processed again.&lt;BR /&gt;&lt;BR /&gt;Also keep in mind that you are running 3 node NiFi cluster and within a NiFi cluster each connected node runs its own copy of the flow, its own set of repositories, and&amp;nbsp; its own local state.&amp;nbsp; So each node is unaware of the FlowFiles being processed by another node in the same cluster.&lt;BR /&gt;&lt;BR /&gt;Generally speaking when you have a processor that shows active threads indicator on it and zeroed out stats, you either have a very long running thread or a hung thread (only examination of serious of thread dumps can make the determination.&amp;nbsp; Most commonly this is a resource utilization problem.&amp;nbsp; But could also be dataflow design issue, client library issue, or network issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, 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 one or more 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>Thu, 01 Feb 2024 15:09:23 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-02-01T15:09:23Z</dc:date>
    <item>
      <title>Nifi Processor stops suddenly</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Processor-stops-suddenly/m-p/382959#M244758</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am using Nifi (3-node cluster) version 1.23.2 in my environment. My doubt, is there any case if Nifi processor (any processor within a process group) stops suddenly due to load/any other issue? If that happens, then what will be the solution? Does it lead to data loss?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 06:58:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Processor-stops-suddenly/m-p/382959#M244758</guid>
      <dc:creator>PriyankaMondal</dc:creator>
      <dc:date>2024-02-01T06:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Processor stops suddenly</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Processor-stops-suddenly/m-p/383008#M244794</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101202"&gt;@PriyankaMondal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not clear by you statement:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if Nifi processor (any processor within a process group) stops suddenly due to load/any other issue&lt;/LI-CODE&gt;&lt;P&gt;You are saying you see a NiFi processor transition to a stopped state unexpectedly?&lt;BR /&gt;This should never happen.&lt;BR /&gt;Or are you saying the processor seems to dtop processing FlowFiles even though it is currently in a running/started state?&lt;BR /&gt;&lt;BR /&gt;NiFi queues FlowFiles in connection between processor components.&amp;nbsp; A FlowFile is not removed from the inbound connection to a processor component until that FlowFile has been successfully processed by the consuming processor.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The FlowFile consist of two parts:&lt;BR /&gt;1. FlowFile attributes/metadata that is persisted in the NiFi flowfile_repository.&lt;BR /&gt;2. FlowFile content persisted within claims inside the content_repository.&amp;nbsp;&lt;BR /&gt;To protect from data loss these repositories should be using protected storage such as RAID.&lt;BR /&gt;&lt;BR /&gt;So if NiFi were to suddenly crash or server itself crash, when NiFi is restarted on that down node it will load its flow and then load the FlowFile back in to the connections.&amp;nbsp; Processing will begin again against those FlowFiles by downstream processor component.&lt;BR /&gt;NiFi's design favors data duplication over data loss ir order to avoid data loss posibilities. For example:&amp;nbsp; Let's assume that a NiFi processor completed execution against a FlowFile resulting in writing something out to an external endpoint.&amp;nbsp; in response to that successful operation the processor would then move the FlowFile from the inbound connection to some a downstream relationship.&amp;nbsp; If NiFi were to crash in that very moment before the FlowFile was moved, on startup the same FlowFile would load in the inbound connection and get processed again.&lt;BR /&gt;&lt;BR /&gt;Also keep in mind that you are running 3 node NiFi cluster and within a NiFi cluster each connected node runs its own copy of the flow, its own set of repositories, and&amp;nbsp; its own local state.&amp;nbsp; So each node is unaware of the FlowFiles being processed by another node in the same cluster.&lt;BR /&gt;&lt;BR /&gt;Generally speaking when you have a processor that shows active threads indicator on it and zeroed out stats, you either have a very long running thread or a hung thread (only examination of serious of thread dumps can make the determination.&amp;nbsp; Most commonly this is a resource utilization problem.&amp;nbsp; But could also be dataflow design issue, client library issue, or network issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, 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 one or more 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>Thu, 01 Feb 2024 15:09:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Processor-stops-suddenly/m-p/383008#M244794</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-02-01T15:09:23Z</dc:date>
    </item>
  </channel>
</rss>

