<?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: NiFi PutHive3Streaming and Hive's minor compaction in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234501#M85081</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That works!&lt;/P&gt;&lt;P&gt;Thank you for all you replies.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 08:02:24 GMT</pubDate>
    <dc:creator>kei_miyauchi_</dc:creator>
    <dc:date>2018-11-26T08:02:24Z</dc:date>
    <item>
      <title>NiFi PutHive3Streaming and Hive's minor compaction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234497#M85077</link>
      <description>&lt;P&gt;Datas which are inserted into Hive by INSERT INTO command are gotten minor compaction.&lt;BR /&gt;But the data inserted into Hive using NiFi's PutHive3Streaming aren't gotten minor compaction even if there is enough deltas.&lt;BR /&gt;Is it possible to make minor compaction(NiFi) work?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 17:50:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234497#M85077</guid>
      <dc:creator>kei_miyauchi_</dc:creator>
      <dc:date>2018-11-20T17:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi PutHive3Streaming and Hive's minor compaction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234498#M85078</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/94241/kei-miyauchi.html" nodeid="94241"&gt;@Kei
 Miyauchi
&lt;/A&gt;&lt;P&gt;If you want to trigger&lt;STRONG&gt; minor/major compactions&lt;/STRONG&gt; from NiFi then feed the &lt;STRONG&gt;Success &lt;/STRONG&gt;relationship &lt;STRONG&gt;PutHiveStreaming&lt;/STRONG&gt; processor to &lt;B&gt;Replace Text&lt;/B&gt; process and configure ReplaceText processor with below configs:&lt;/P&gt;&lt;P&gt;replacement strategy&lt;/P&gt;&lt;PRE&gt;always replace  &lt;/PRE&gt;&lt;P&gt;and replacement value as &lt;/P&gt;&lt;PRE&gt;alter table &amp;lt;db_name&amp;gt;.&amp;lt;table_name&amp;gt; compact 'minor';&lt;/PRE&gt;&lt;P&gt;Then using &lt;STRONG&gt;PutHiveQL &lt;/STRONG&gt;processor execute the minor compaction.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Flow:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;--other processors
--&amp;gt; PutHivestreaming 
--&amp;gt; ReplaceText processor
--&amp;gt; PutHiveQL&lt;/PRE&gt;&lt;P&gt;By following this way we are initializing minor compaction from NiFi.&lt;/P&gt;&lt;P&gt;Take a look into &lt;A href="https://community.hortonworks.com/content/supportkb/193756/automatic-minor-compaction-on-hive-is-not-working.html" target="_blank"&gt;this &lt;/A&gt;SupportKB related to &lt;STRONG&gt;Minor Compactions&lt;/STRONG&gt; are not working in Hive, set the recommended global configs to make minor compactions work.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 22:22:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234498#M85078</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-11-20T22:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi PutHive3Streaming and Hive's minor compaction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234499#M85079</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you, I'll try that.&lt;BR /&gt;The link isn't working. You meant this page?&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/193756/automatic-minor-compaction-on-hive-is-not-working.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/193756/automatic-minor-compaction-on-hive-is-not-working.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And, do you have any idea to trigger ReplaceText and PutHiveQL only after some flowfile passed PutHiveStreaming?&lt;BR /&gt;I think invoking minor compaction for each flowfile is too much when a lot of flowfile comes.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:37:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234499#M85079</guid>
      <dc:creator>kei_miyauchi_</dc:creator>
      <dc:date>2018-11-21T12:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi PutHive3Streaming and Hive's minor compaction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234500#M85080</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/94241/kei-miyauchi.html" nodeid="94241"&gt;@Kei
 Miyauchi
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes, i meant &lt;A href="https://community.hortonworks.com/content/supportkb/193756/automatic-minor-compaction-on-hive-is-not-working.html"&gt;https://community.hortonworks.com/content/supportkb/193756/automatic-minor-compaction-on-hive-is-not-working.html&lt;/A&gt; this page.&lt;/P&gt;&lt;P&gt;Use &lt;A href="https://community.hortonworks.com/questions/64337/apache-nifi-merge-content.html" target="_blank"&gt;merge content&lt;/A&gt; processor after &lt;STRONG&gt;PutHiveStreaming &lt;/STRONG&gt;and configure the processor to &lt;STRONG&gt;wait for minimum 10 flowfiles (&lt;/STRONG&gt;or some other number) and &lt;STRONG&gt;merge them into one then feed the merged relation to ReplaceText&lt;/STRONG&gt; processor, by using merge content processor we are going to wait for atleast 10 flowfiles and then triggering minor compaction.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Flow: &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;--other processors
--&amp;gt;PutHivestreaming
--&amp;gt; MergeContent
--&amp;gt;ReplaceText processor
--&amp;gt;PutHiveQL&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Nov 2018 22:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234500#M85080</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-11-21T22:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi PutHive3Streaming and Hive's minor compaction</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234501#M85081</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That works!&lt;/P&gt;&lt;P&gt;Thank you for all you replies.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:02:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-PutHive3Streaming-and-Hive-s-minor-compaction/m-p/234501#M85081</guid>
      <dc:creator>kei_miyauchi_</dc:creator>
      <dc:date>2018-11-26T08:02:24Z</dc:date>
    </item>
  </channel>
</rss>

