<?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: How to avoid NiFi GetFile recoping of file when KeepSourceFile=true and  processing the file at target location in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137077#M39744</link>
    <description>&lt;P&gt;Yes, you can use &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ListFile/index.html"&gt;ListFile&lt;/A&gt; -&amp;gt; &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.FetchFile/index.html"&gt;FetchFile&lt;/A&gt;. ListFile will keep track of which files it has read, so it will only list those files that it has not seen before. FetchFile will get the contents of the files passed in. Together they work like GetFile except ListFile keeps track of the files it has read.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2016 07:47:12 GMT</pubDate>
    <dc:creator>mburgess</dc:creator>
    <dc:date>2016-09-06T07:47:12Z</dc:date>
    <item>
      <title>How to avoid NiFi GetFile recoping of file when KeepSourceFile=true and  processing the file at target location</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137076#M39743</link>
      <description>&lt;P&gt;I am new to nifi. &lt;/P&gt;&lt;P&gt;I am copying file the file using nifi getfile(Keep the source true) and putfile (/stage).And Every minute there is cronjob looks for file written by putfile , process them and send it hdfs. Soon files got moved out of (/stage) directory,Nifi re-copies the same files. &lt;/P&gt;&lt;P&gt;Is there is any way to avoid re-copy of file in nifi.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 07:21:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137076#M39743</guid>
      <dc:creator>deepeshbhatia21</dc:creator>
      <dc:date>2016-09-06T07:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid NiFi GetFile recoping of file when KeepSourceFile=true and  processing the file at target location</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137077#M39744</link>
      <description>&lt;P&gt;Yes, you can use &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ListFile/index.html"&gt;ListFile&lt;/A&gt; -&amp;gt; &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.FetchFile/index.html"&gt;FetchFile&lt;/A&gt;. ListFile will keep track of which files it has read, so it will only list those files that it has not seen before. FetchFile will get the contents of the files passed in. Together they work like GetFile except ListFile keeps track of the files it has read.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 07:47:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137077#M39744</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-09-06T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid NiFi GetFile recoping of file when KeepSourceFile=true and  processing the file at target location</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137078#M39745</link>
      <description>&lt;P&gt;Thanks alot Matt for the quick response. I need one more suggestion.  Currently application logs get recycled on daily basis. Let's assume Nifi copies the files at particular point in time using ListFile-&amp;gt;FetchFile. There will be some more data will get written before next log file creation. &lt;/P&gt;&lt;P&gt;What's the best way to copy/sync up the file that is being appended using nifi. Current version of nifi is 0.6.0.1.2.0.1-1.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deepesh&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 05:43:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-avoid-NiFi-GetFile-recoping-of-file-when/m-p/137078#M39745</guid>
      <dc:creator>deepeshbhatia21</dc:creator>
      <dc:date>2016-09-07T05:43:29Z</dc:date>
    </item>
  </channel>
</rss>

