<?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 On Nifi Is it possible using PutHdfs Processor to configure so that  files are written to day wise folder ,rolling to new day folder everyday in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176248#M67640</link>
    <description>&lt;P&gt;For Ex:&lt;/P&gt;&lt;P&gt;USing getKafka -to read the stream &lt;/P&gt;&lt;P&gt;PutHDFS to write to HDFS &lt;/P&gt;&lt;P&gt;Can it be configured in the processor to create new folders when a new day starts and write the kafka topic data to that folder.&lt;/P&gt;&lt;P&gt;Basically to maintain day wise folders in HDFS using putHDFS processor in nifi.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 18:47:31 GMT</pubDate>
    <dc:creator>ManishaJain</dc:creator>
    <dc:date>2017-09-05T18:47:31Z</dc:date>
    <item>
      <title>On Nifi Is it possible using PutHdfs Processor to configure so that  files are written to day wise folder ,rolling to new day folder everyday</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176248#M67640</link>
      <description>&lt;P&gt;For Ex:&lt;/P&gt;&lt;P&gt;USing getKafka -to read the stream &lt;/P&gt;&lt;P&gt;PutHDFS to write to HDFS &lt;/P&gt;&lt;P&gt;Can it be configured in the processor to create new folders when a new day starts and write the kafka topic data to that folder.&lt;/P&gt;&lt;P&gt;Basically to maintain day wise folders in HDFS using putHDFS processor in nifi.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 18:47:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176248#M67640</guid>
      <dc:creator>ManishaJain</dc:creator>
      <dc:date>2017-09-05T18:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: On Nifi Is it possible using PutHdfs Processor to configure so that  files are written to day wise folder ,rolling to new day folder everyday</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176249#M67641</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/41157/manishajainorg.html" nodeid="41157" target="_blank"&gt;@manisha jain&lt;/A&gt;, yep it is possible with PutHDFS processor.&lt;BR /&gt;in puthdfs processor keep directory property as &lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;PRE&gt;/user/kafka/${now():format("yyyy-MM-dd")}&lt;/PRE&gt;Expression:-&lt;BR /&gt;&lt;STRONG&gt;${now():format("yyyy-MM-dd")} &lt;/STRONG&gt;&lt;BR /&gt;above expression now will be the current timestamp and extracts only the date and creates the directory with the date dynamically and and stores all the flow files that are generated with same date will be stored into the same directory.&lt;P style="text-align: justify;"&gt;&lt;STRONG&gt;PutHDFS properties:-&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="38542-puthdfs-configs.png" style="width: 787px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19702i11A6880E937A8C35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="38542-puthdfs-configs.png" alt="38542-puthdfs-configs.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:58:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176249#M67641</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T09:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: On Nifi Is it possible using PutHdfs Processor to configure so that  files are written to day wise folder ,rolling to new day folder everyday</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176250#M67642</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Yash&lt;/A&gt; i have used the same approach,it works.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:16:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/On-Nifi-Is-it-possible-using-PutHdfs-Processor-to-configure/m-p/176250#M67642</guid>
      <dc:creator>ManishaJain</dc:creator>
      <dc:date>2017-09-07T11:16:06Z</dc:date>
    </item>
  </channel>
</rss>

