<?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 [Nifi] Unify ReplaceText output FlowFile into one only record in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238673#M85508</link>
    <description>&lt;P&gt;I have a ReplaceText that generates a Hive query. As an output flowfile, I have several records with the same Hive query, that I use to run a PutHiveQl processor. So that, the PutHiveQL processor is executed several times, but I only need it to run once.&lt;/P&gt;&lt;P&gt;How could I do that? Is there a way to remove all ReplaceText output records but one?&lt;/P&gt;&lt;P&gt;Any help would be really appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2018 19:14:06 GMT</pubDate>
    <dc:creator>jlmoreno</dc:creator>
    <dc:date>2018-12-13T19:14:06Z</dc:date>
    <item>
      <title>[Nifi] Unify ReplaceText output FlowFile into one only record</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238673#M85508</link>
      <description>&lt;P&gt;I have a ReplaceText that generates a Hive query. As an output flowfile, I have several records with the same Hive query, that I use to run a PutHiveQl processor. So that, the PutHiveQL processor is executed several times, but I only need it to run once.&lt;/P&gt;&lt;P&gt;How could I do that? Is there a way to remove all ReplaceText output records but one?&lt;/P&gt;&lt;P&gt;Any help would be really appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 19:14:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238673#M85508</guid>
      <dc:creator>jlmoreno</dc:creator>
      <dc:date>2018-12-13T19:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] Unify ReplaceText output FlowFile into one only record</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238674#M85509</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11896/jlmorenoherranz.html" nodeid="11896"&gt;@Jose Luis Moreno&lt;/A&gt;&lt;P&gt;Use &lt;STRONG&gt;DetectDuplicate &lt;/STRONG&gt;processor, so that if you are having &lt;STRONG&gt;same hive query&lt;/STRONG&gt; as this processor will detect that query transfers those flowfiles into duplicate connection and also you can use &lt;STRONG&gt;Age Off Duration &lt;/STRONG&gt;property to age off cached flowfiles.&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="https://community.hortonworks.com/questions/152038/detect-duplicate-based-on-2-attributes-per-second.html" target="_blank"&gt;this &lt;/A&gt;link for more details regards to DetectDuplicate processor usage.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Another ways would be using &lt;STRONG&gt;ControlRate &lt;/STRONG&gt;processor but this processor will release the &lt;STRONG&gt;flowfile &lt;/STRONG&gt;that has been waiting in the queue after &lt;STRONG&gt;TimeDuration &lt;/STRONG&gt;has been finished.&lt;/P&gt;&lt;P&gt;Refer &lt;A href="https://stackoverflow.com/questions/52217914/running-record-count-from-splitrecord-processor-nifi" target="_blank"&gt;this &lt;/A&gt;link for more details regards to ControlRate processor.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 21:33:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238674#M85509</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-12-13T21:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] Unify ReplaceText output FlowFile into one only record</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238675#M85510</link>
      <description>&lt;P&gt;Age of duration seems to be a straight forward solution. &lt;/P&gt;&lt;P&gt;I thought in using DetectDuplicate, but we need here an external db to achieve that. &lt;/P&gt;&lt;P&gt;Thank you very much for the help, Shu.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 00:00:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Unify-ReplaceText-output-FlowFile-into-one-only-record/m-p/238675#M85510</guid>
      <dc:creator>jlmoreno</dc:creator>
      <dc:date>2018-12-14T00:00:23Z</dc:date>
    </item>
  </channel>
</rss>

