<?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 confirm before we stop a data flow in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224872#M254849</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/20255/dheeruksingh.html" nodeid="20255"&gt;@dhieru singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am not clear on what you mean by "stopping a dataflow resulted in data loss"?  NiFi does not delete any data when a dataflow is stopped.  Data will remain queued between the stopped components until the dataflow is restarted or a user manual operation is performed to purge the data from those queues.&lt;/P&gt;&lt;P&gt;There is no notion of a "lock" in NIFi that can be set on a component or set of components in NiFi.  In addition, having a a double confirm every time a user wants to stop a component to make an edit may be more annoying then beneficial.&lt;BR /&gt;&lt;BR /&gt;That being said, it might be an interesting idea to add the ability to "lock" the current running state of "process group".  Basically putting all components in a process group in to read only mode until the lock is removed.   Might be worth you creating an NiFi Apache Jira for such a thing.&lt;/P&gt;&lt;P&gt;If you Nifi is secured, you can prevent such issues by taking away users "modify" access to the components.  Without Modify access policies, users can only view the components.  They will not be able to change active state (start, stop, enable, or disable) or the configuration.  But this would also require that you re-add "modify" anytime a change is desired.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2017 01:21:42 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2017-10-20T01:21:42Z</dc:date>
    <item>
      <title>How to Prevent Accidentally Stopping a  NiFi Data Flow Using Access Control Policies</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224871#M254848</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Thanks a lot everyone on this awesome community.&lt;/P&gt;
&lt;P&gt;I have data flows in PROD now, and I am adding new data flows and testing them, however accidentally I stopped one the flows which was good and running in PROD, reuslting in data loss. Is there any way I can freeze the data flow or dataflow confirms twice before I stop a data flow?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dheeru&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 18:27:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224871#M254848</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2026-06-04T18:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi confirm before we stop a data flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224872#M254849</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/20255/dheeruksingh.html" nodeid="20255"&gt;@dhieru singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am not clear on what you mean by "stopping a dataflow resulted in data loss"?  NiFi does not delete any data when a dataflow is stopped.  Data will remain queued between the stopped components until the dataflow is restarted or a user manual operation is performed to purge the data from those queues.&lt;/P&gt;&lt;P&gt;There is no notion of a "lock" in NIFi that can be set on a component or set of components in NiFi.  In addition, having a a double confirm every time a user wants to stop a component to make an edit may be more annoying then beneficial.&lt;BR /&gt;&lt;BR /&gt;That being said, it might be an interesting idea to add the ability to "lock" the current running state of "process group".  Basically putting all components in a process group in to read only mode until the lock is removed.   Might be worth you creating an NiFi Apache Jira for such a thing.&lt;/P&gt;&lt;P&gt;If you Nifi is secured, you can prevent such issues by taking away users "modify" access to the components.  Without Modify access policies, users can only view the components.  They will not be able to change active state (start, stop, enable, or disable) or the configuration.  But this would also require that you re-add "modify" anytime a change is desired.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 01:21:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224872#M254849</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-10-20T01:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi confirm before we stop a data flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224873#M254850</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; Thanks a lot for your response. I clicked on a process group which was already running fine and good, while my intention was to just see its configuration I accidentally clicked on "Stop". So the whole process group stopped and then we did not receive the data from the pfsense firewall for that little duration. &lt;/P&gt;&lt;P&gt;what I was looking for exactly what you suggested, like when we know the data flow is ready and does not need any more changes, we can change it to read mode only or Stop, options freezes.&lt;/P&gt;&lt;P&gt;Yes I agree completely asking twice for confirmation will be annoying, but the dataflows which are ready and we mark them to ask us twice, that can be a good feature.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Dheeru&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 01:40:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224873#M254850</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-10-20T01:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi confirm before we stop a data flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224874#M254851</link>
      <description>&lt;P&gt;We have had unintended starts and stops that have hampered our data flows.  We have talked to Hortonworks about it.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;,&lt;P&gt;I have had the same experience.  We have asked HWX for a confirmation window for these type of operations...&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jun 2018 00:29:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224874#M254851</guid>
      <dc:creator>woodcock_m</dc:creator>
      <dc:date>2018-06-02T00:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi confirm before we stop a data flow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224875#M254852</link>
      <description>&lt;P&gt;Matt, &lt;/P&gt;&lt;P&gt;In the evaluation I'm doing NiFi versus StreamSets as a user, I prefer NiFi due to its richest pipeline management and clustering option in opensource version, and a lot of other things. The question posted by &lt;A href="https://community.hortonworks.com/users/20255/dheeruksingh.html"&gt;dhieru singh&lt;/A&gt; make enormous sense, in a perspective that a lot of critical systems (or even not critical ones) do this. I mean, if you accidentally stop all process groups at once and then, as soon you noticed that, restart all process again (imagine a DevOps guy waking up at 3:00AM &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ) you may also start process groups that you don't want. This would be the second accident.&lt;/P&gt;&lt;P&gt;It happened with me during evaluation, where I had built several process groups and some of them were intentionally suspended (ok, good practice says if you don't use, remove it, but, sure I'm not the only one when it comes to testing).&lt;/P&gt;&lt;P&gt;Anyway, maybe is a good practice/idea to notify the user when he/she is about to stop the whole thing or, as you mention, add the ability to "lock" the current running state of a given process group.&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;</description>
      <pubDate>Sun, 23 Sep 2018 20:47:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Prevent-Accidentally-Stopping-a-NiFi-Data-Flow-Using/m-p/224875#M254852</guid>
      <dc:creator>julio-cesar</dc:creator>
      <dc:date>2018-09-23T20:47:30Z</dc:date>
    </item>
  </channel>
</rss>

