<?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 SplitXML child/ output files getting overwritten by putFile processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195050#M80909</link>
    <description>&lt;P&gt;Hi,  I am trying to use a very simple process  GetFile  SplitXML  PutFile  However, putfile throws error as all child files have same names and I get only one copy (first of the selected node depth data or last depending on my putFile conflict resolution strategy)  I tried using updateAttribute process to change the file before sending to putFile but even that is not working. Please help. &lt;/P&gt;&lt;P&gt;Any suggestions on why even a simple update filename operation is not working either. Could there be any issue with some settings? I am using nifi 1.7.0&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 14:23:39 GMT</pubDate>
    <dc:creator>deepikatechq</dc:creator>
    <dc:date>2018-07-19T14:23:39Z</dc:date>
    <item>
      <title>SplitXML child/ output files getting overwritten by putFile processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195050#M80909</link>
      <description>&lt;P&gt;Hi,  I am trying to use a very simple process  GetFile  SplitXML  PutFile  However, putfile throws error as all child files have same names and I get only one copy (first of the selected node depth data or last depending on my putFile conflict resolution strategy)  I tried using updateAttribute process to change the file before sending to putFile but even that is not working. Please help. &lt;/P&gt;&lt;P&gt;Any suggestions on why even a simple update filename operation is not working either. Could there be any issue with some settings? I am using nifi 1.7.0&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 14:23:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195050#M80909</guid>
      <dc:creator>deepikatechq</dc:creator>
      <dc:date>2018-07-19T14:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: SplitXML child/ output files getting overwritten by putFile processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195051#M80910</link>
      <description>&lt;P&gt;@D D&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;The NiFi Split type processor will produce multiple FlowFiles from a single source FlowFile.  Each of those split FlowFiles produced will have the same filename assigned to them.  NiFi references/keeps track of FlowFiles by a unique UUID assigned to each of them, so the fact that each has the same filename is not an issue for NiFi itself.  That being said, destination systems will likely have an issue with duplicate files with the same filename.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Using the update attribute processor to change the filename on these splits is the best option here.&lt;/P&gt;&lt;P&gt;Creating a dynamic new property that will update the filename using the FlowFiles unique uuid is the common solution:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="80606-screen-shot-2018-07-19-at-123036-pm.png" style="width: 503px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18038i4176DCDDA3DE3F42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="80606-screen-shot-2018-07-19-at-123036-pm.png" alt="80606-screen-shot-2018-07-19-at-123036-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this Answer addressed your original question, please take a moment to login and click "Accept" below the answer.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:41:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195051#M80910</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-18T06:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: SplitXML child/ output files getting overwritten by putFile processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195052#M80911</link>
      <description>&lt;P&gt;Thanks a lot Matt!! It helped.&lt;/P&gt;&lt;P&gt;Also it turns out I was not running NiFi as administrator which was also a problem in renaming files in windows.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 16:15:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SplitXML-child-output-files-getting-overwritten-by-putFile/m-p/195052#M80911</guid>
      <dc:creator>deepikatechq</dc:creator>
      <dc:date>2018-07-20T16:15:26Z</dc:date>
    </item>
  </channel>
</rss>

