<?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 Prioritize execution of .hql file and then .csv file in the order in distributed manner in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Prioritize-execution-of-hql-file-and-then-csv-file-in-the/m-p/319647#M227912</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are processing ZIP file contains multiple timestamp files (.hiveql,.csv) in distributed manner .&lt;BR /&gt;We check the file extension whether it is .hql or .csv then we route the file to execute it PutHiveQL and PutHDFS processor respectively.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The files(timestamp order starts with for example t1 or system timestamp)&amp;nbsp; below contains in ZIP file to be extracted and processed in order.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="times new roman,times,serif"&gt;table_info.zip&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;table_info_t1.hql
table_info_t1_1.csv
table_info_t1_2.csv
table_info_t2.hql
table_info_t2_1.csv
table_info_t2_2.csv
table_info_latest.hql
table_info_latest.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the below NiFi flow and RouteonAttribute property&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NiFiDistributedFiles.PNG" style="width: 768px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31741iA4763C6E2C4BEDDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="NiFiDistributedFiles.PNG" alt="NiFiDistributedFiles.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RouteOnFileExtension.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31742i34B46C68F929B6A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="RouteOnFileExtension.PNG" alt="RouteOnFileExtension.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any way to make us to wait first puthivesql executes first and give indication to putHDFS execution next for each timestamp file one by one order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we group each timestamp files into group and process the .hql file and the put .csv file into HDFS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69083"&gt;@Nifi&lt;/a&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 11:46:01 GMT</pubDate>
    <dc:creator>adhishankarit</dc:creator>
    <dc:date>2021-07-01T11:46:01Z</dc:date>
    <item>
      <title>Prioritize execution of .hql file and then .csv file in the order in distributed manner</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Prioritize-execution-of-hql-file-and-then-csv-file-in-the/m-p/319647#M227912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are processing ZIP file contains multiple timestamp files (.hiveql,.csv) in distributed manner .&lt;BR /&gt;We check the file extension whether it is .hql or .csv then we route the file to execute it PutHiveQL and PutHDFS processor respectively.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The files(timestamp order starts with for example t1 or system timestamp)&amp;nbsp; below contains in ZIP file to be extracted and processed in order.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="times new roman,times,serif"&gt;table_info.zip&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;table_info_t1.hql
table_info_t1_1.csv
table_info_t1_2.csv
table_info_t2.hql
table_info_t2_1.csv
table_info_t2_2.csv
table_info_latest.hql
table_info_latest.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the below NiFi flow and RouteonAttribute property&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NiFiDistributedFiles.PNG" style="width: 768px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31741iA4763C6E2C4BEDDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="NiFiDistributedFiles.PNG" alt="NiFiDistributedFiles.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RouteOnFileExtension.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31742i34B46C68F929B6A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="RouteOnFileExtension.PNG" alt="RouteOnFileExtension.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any way to make us to wait first puthivesql executes first and give indication to putHDFS execution next for each timestamp file one by one order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we group each timestamp files into group and process the .hql file and the put .csv file into HDFS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69083"&gt;@Nifi&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 11:46:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Prioritize-execution-of-hql-file-and-then-csv-file-in-the/m-p/319647#M227912</guid>
      <dc:creator>adhishankarit</dc:creator>
      <dc:date>2021-07-01T11:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Prioritize execution of .hql file and then .csv file in the order in distributed manner</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Prioritize-execution-of-hql-file-and-then-csv-file-in-the/m-p/320864#M228198</link>
      <description>&lt;P&gt;We have solved this with help of wait and notify processor as we routed .hql file to puthql which interns routes success/failure to Notify . The Wait processor wait signal will release the .csv file to put into HDFS once Notify signal comes from Notify processor.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 14:08:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Prioritize-execution-of-hql-file-and-then-csv-file-in-the/m-p/320864#M228198</guid>
      <dc:creator>adhishankarit</dc:creator>
      <dc:date>2021-07-13T14:08:51Z</dc:date>
    </item>
  </channel>
</rss>

