<?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 Order of files Tared in MergeContent processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153440#M56895</link>
    <description>&lt;P&gt;I am trying to set an order to the files Tared in a merge content processor, is this possible somehow?&lt;/P&gt;&lt;P&gt;I need the order of the binary bits to be set so that one file (based on filename) can always be first.&lt;/P&gt;&lt;P&gt;In this case I need the testfile1.txt to be first and then then testfile2.txt to be second.&lt;/P&gt;&lt;P&gt;It seems to ignore my priorityattrbribute prioritizer.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2017 06:55:50 GMT</pubDate>
    <dc:creator>johnmteabo</dc:creator>
    <dc:date>2017-03-13T06:55:50Z</dc:date>
    <item>
      <title>Order of files Tared in MergeContent processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153440#M56895</link>
      <description>&lt;P&gt;I am trying to set an order to the files Tared in a merge content processor, is this possible somehow?&lt;/P&gt;&lt;P&gt;I need the order of the binary bits to be set so that one file (based on filename) can always be first.&lt;/P&gt;&lt;P&gt;In this case I need the testfile1.txt to be first and then then testfile2.txt to be second.&lt;/P&gt;&lt;P&gt;It seems to ignore my priorityattrbribute prioritizer.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 06:55:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153440#M56895</guid>
      <dc:creator>johnmteabo</dc:creator>
      <dc:date>2017-03-13T06:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Order of files Tared in MergeContent processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153441#M56896</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13600/johnmteabo.html" nodeid="13600" target="_blank"&gt;@John T&lt;/A&gt;&lt;P&gt;The PriorityAttributePrioritizer controls the order in which FlowFiles on a queue are read for processing by the next processor in a dataflow.  In your case that next processor is a MergeContent processor which just places the FlowFile in a Bin and move on to the next priority FlowFile.  There is no definable merging order with the TAR format in the NiFi MergeContent processor.&lt;/P&gt;&lt;P&gt;If you know the exact number of fragments that are going in to your bundle, you could try setting the fragment identifiers on the incoming FlowFiles to force a merging order.  &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13589-screen-shot-2017-03-13-at-102454-am.png" style="width: 1244px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21042i7F6B0BE52A22230D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13589-screen-shot-2017-03-13-at-102454-am.png" alt="13589-screen-shot-2017-03-13-at-102454-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This would require you to change your merge strategy to "Defragment".&lt;/P&gt;&lt;P&gt;Thanks,
Matt&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:38:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153441#M56896</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-18T12:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Order of files Tared in MergeContent processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153442#M56897</link>
      <description>&lt;P&gt;Thank you!! That worked perfectly! Feel free to check out my NiFi template where this is in use!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/13590-original-content-and-attributes-in-xmlv4.xml"&gt;original-content-and-attributes-in-xmlv4.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 23:30:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Order-of-files-Tared-in-MergeContent-processor/m-p/153442#M56897</guid>
      <dc:creator>johnmteabo</dc:creator>
      <dc:date>2017-03-13T23:30:36Z</dc:date>
    </item>
  </channel>
</rss>

