<?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: In NiFi how do I append RouteText lines to an existing target file (PutFile functionality)? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/In-NiFi-how-do-I-append-RouteText-lines-to-an-existing/m-p/153514#M44733</link>
    <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt; unfortunately I think you are correct that &lt;CODE&gt;ExecuteScript&lt;/CODE&gt; is the best way to achieve this right now. As far as I know, the &lt;CODE&gt;PutFile&lt;/CODE&gt; processor cannot append to an existing file. You are given the option to deal with conflicting files using "replace", "ignore", or "fail" as a resolution strategy. You should submit an Apache Jira to add this functionality. I could see difficulties with file locks and flushing the buffer given the streaming nature of NiFi and I think further investigation is needed.
&lt;/P&gt;</description>
    <pubDate>Sat, 29 Oct 2016 10:50:32 GMT</pubDate>
    <dc:creator>alopresto</dc:creator>
    <dc:date>2016-10-29T10:50:32Z</dc:date>
    <item>
      <title>In NiFi how do I append RouteText lines to an existing target file (PutFile functionality)?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/In-NiFi-how-do-I-append-RouteText-lines-to-an-existing/m-p/153513#M44732</link>
      <description>&lt;P&gt;I have a RouteText processor outputting matched lines that I would like to append to an existing local file using PutFile.  However, PutFile cannot append content to an existing file (am I wrong?).  How do I do this in NiFi?  Is the only way to do it by using a script in ExecuteScript to open and append a file?  Seems like a native Processor should do this.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 02:38:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/In-NiFi-how-do-I-append-RouteText-lines-to-an-existing/m-p/153513#M44732</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-10-28T02:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: In NiFi how do I append RouteText lines to an existing target file (PutFile functionality)?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/In-NiFi-how-do-I-append-RouteText-lines-to-an-existing/m-p/153514#M44733</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt; unfortunately I think you are correct that &lt;CODE&gt;ExecuteScript&lt;/CODE&gt; is the best way to achieve this right now. As far as I know, the &lt;CODE&gt;PutFile&lt;/CODE&gt; processor cannot append to an existing file. You are given the option to deal with conflicting files using "replace", "ignore", or "fail" as a resolution strategy. You should submit an Apache Jira to add this functionality. I could see difficulties with file locks and flushing the buffer given the streaming nature of NiFi and I think further investigation is needed.
&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2016 10:50:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/In-NiFi-how-do-I-append-RouteText-lines-to-an-existing/m-p/153514#M44733</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-10-29T10:50:32Z</dc:date>
    </item>
  </channel>
</rss>

