<?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 Moving files on HDFS path for the previous day merged json file in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/281299#M209297</link>
    <description>&lt;P&gt;The current flow worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;listhdfs-&amp;gt;fethchdfs-&amp;gt;updateattribute-&amp;gt;puthdfs-&amp;gt;deletehdfs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the list hdfs set the&amp;nbsp;&lt;SPAN&gt;Minimum File Age wait time before consuming. This will allow the process to search files recursively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have completed all the activates except generating sequence number for each received flow file for the same date. Could you please check and help.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 18:17:20 GMT</pubDate>
    <dc:creator>Deenag</dc:creator>
    <dc:date>2019-10-24T18:17:20Z</dc:date>
    <item>
      <title>Nifi Moving files on HDFS path for the previous day merged json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/280362#M208814</link>
      <description>&lt;P&gt;I have a requirement to move the previous day processed and merged json files into new hdfs path. The requirement is to &lt;SPAN&gt;recursively search unprocessed files and move the pending unprocessed files.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Path 1 → /data/nifi/working/2019/10/source_2019_10_15.json — Daily processed files are merged under this path and gets added on daily basis.&lt;/P&gt;
&lt;P&gt;Path 2 → /data/nifi/incoming/ — The code should search if folders doesn't exist then create and move the files are just move the files if the folders are already present.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I am using nifi flow -- ListHDFS→ MoveHDFS but unable to achieve it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need help how this can be achieved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 01:39:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/280362#M208814</guid>
      <dc:creator>Deenag</dc:creator>
      <dc:date>2019-10-17T01:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Moving files on HDFS path for the previous day merged json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/280388#M208824</link>
      <description>&lt;P&gt;&lt;SPAN&gt;ListHDFS-&amp;gt;RouteonAttribute-&amp;gt;MoveHDFS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can the above process flow be worked by utilizing &lt;SPAN&gt;RouteonAttribute&amp;nbsp;&lt;/SPAN&gt;to split and process previous day pending file to HDFS path?&lt;/P&gt;&lt;P&gt;Daily created Fileformat&lt;/P&gt;&lt;P&gt;stream_es_2019_10_14.json1&lt;BR /&gt;stream_es_2019_10_15.json1&lt;BR /&gt;stream_es_2019_10_16.json1&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If the filename is equal to today's date ignore to pick and process&lt;/LI&gt;&lt;LI&gt;If the filename is lesser than today's date pick and move the file to defined folder path.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please help if this can be achieved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 20:58:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/280388#M208824</guid>
      <dc:creator>Deenag</dc:creator>
      <dc:date>2019-10-16T20:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Moving files on HDFS path for the previous day merged json file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/281299#M209297</link>
      <description>&lt;P&gt;The current flow worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;listhdfs-&amp;gt;fethchdfs-&amp;gt;updateattribute-&amp;gt;puthdfs-&amp;gt;deletehdfs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the list hdfs set the&amp;nbsp;&lt;SPAN&gt;Minimum File Age wait time before consuming. This will allow the process to search files recursively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have completed all the activates except generating sequence number for each received flow file for the same date. Could you please check and help.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 18:17:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Moving-files-on-HDFS-path-for-the-previous-day-merged/m-p/281299#M209297</guid>
      <dc:creator>Deenag</dc:creator>
      <dc:date>2019-10-24T18:17:20Z</dc:date>
    </item>
  </channel>
</rss>

