<?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 Bug? NiFi ListFile processor works only one time after I change its configuration in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225139#M63585</link>
    <description>&lt;P&gt;I have set up a simple flow in NiFi 1.1.2:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;ListFile -&amp;gt; (success) -&amp;gt; FetchFile&lt;/LI&gt;&lt;LI&gt;ListFile reads /vagrant/testData folder. Running on primary NiFi node only. I have not changed any different settings than these two (directory to observe, execution scheduling) &lt;/LI&gt;&lt;LI&gt;FetchFile moves the file to /vagrant/testData2. That's all.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To reproduce the bug(?):&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Start the flow, do not have any files in the input directory&lt;/LI&gt;&lt;LI&gt;Put a file into input directory&lt;/LI&gt;&lt;LI&gt;File will be moved as expected -- this is correct behavior so far&lt;/LI&gt;&lt;LI&gt;Move another file into the directory (different file name)&lt;/LI&gt;&lt;LI&gt;You can wait 5 minutes, but the file will not be found by the ListFile processor anymore&lt;/LI&gt;&lt;LI&gt;Stop ListFile processor&lt;/LI&gt;&lt;LI&gt;Change a setting, for example "Recurse Subdirectories" to false&lt;/LI&gt;&lt;LI&gt;Start ListFile processor again&lt;/LI&gt;&lt;LI&gt;The second file you put into the input directory will now be moved to output directory&lt;/LI&gt;&lt;LI&gt;Put a third file into the input folder --&amp;gt; nothing will happen again.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is this a known issue? How to fix it? &lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 19:38:54 GMT</pubDate>
    <dc:creator>arr9gan7</dc:creator>
    <dc:date>2017-06-23T19:38:54Z</dc:date>
    <item>
      <title>Bug? NiFi ListFile processor works only one time after I change its configuration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225139#M63585</link>
      <description>&lt;P&gt;I have set up a simple flow in NiFi 1.1.2:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;ListFile -&amp;gt; (success) -&amp;gt; FetchFile&lt;/LI&gt;&lt;LI&gt;ListFile reads /vagrant/testData folder. Running on primary NiFi node only. I have not changed any different settings than these two (directory to observe, execution scheduling) &lt;/LI&gt;&lt;LI&gt;FetchFile moves the file to /vagrant/testData2. That's all.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To reproduce the bug(?):&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Start the flow, do not have any files in the input directory&lt;/LI&gt;&lt;LI&gt;Put a file into input directory&lt;/LI&gt;&lt;LI&gt;File will be moved as expected -- this is correct behavior so far&lt;/LI&gt;&lt;LI&gt;Move another file into the directory (different file name)&lt;/LI&gt;&lt;LI&gt;You can wait 5 minutes, but the file will not be found by the ListFile processor anymore&lt;/LI&gt;&lt;LI&gt;Stop ListFile processor&lt;/LI&gt;&lt;LI&gt;Change a setting, for example "Recurse Subdirectories" to false&lt;/LI&gt;&lt;LI&gt;Start ListFile processor again&lt;/LI&gt;&lt;LI&gt;The second file you put into the input directory will now be moved to output directory&lt;/LI&gt;&lt;LI&gt;Put a third file into the input folder --&amp;gt; nothing will happen again.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is this a known issue? How to fix it? &lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 19:38:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225139#M63585</guid>
      <dc:creator>arr9gan7</dc:creator>
      <dc:date>2017-06-23T19:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? NiFi ListFile processor works only one time after I change its configuration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225140#M63586</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/18274/arr9gan7.html" nodeid="18274"&gt;@Jody H&lt;/A&gt;&lt;P&gt;Here is a link to another question about the ListFile processor. I think you might be seeing the same behavior.
&lt;A href="https://community.hortonworks.com/questions/104447/listfile-processor-is-not-detecting-all-new-files.html"&gt;ListFile processor&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 19:59:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225140#M63586</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-23T19:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? NiFi ListFile processor works only one time after I change its configuration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225141#M63587</link>
      <description>&lt;P&gt;Thanks for the quick input - my question got resolved by the link you added. &lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; writes: "&lt;EM&gt;A move operation typically does not update the timestamp, but a copy will.&lt;/EM&gt;". For my system on Ubuntu 14.04, I need to change the content of the files (i.e. with &lt;EM&gt;gedit&lt;/EM&gt;). &lt;/P&gt;&lt;P&gt;When I solely copy the file in a different folder, rename it, copy with ctrl+c and paste it into the input directory with ctrl+v, the ListFile processor will not list the added file. It works when the file is changed. I guess this behavior should only occur when testing the processor with the same static file like I did... &lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 20:15:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-NiFi-ListFile-processor-works-only-one-time-after-I/m-p/225141#M63587</guid>
      <dc:creator>arr9gan7</dc:creator>
      <dc:date>2017-06-23T20:15:29Z</dc:date>
    </item>
  </channel>
</rss>

