<?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  - PutHDFS - now() time format in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-PutHDFS-now-time-format/m-p/211980#M63118</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/20182/rockyyydude.html" nodeid="20182"&gt;@Guna sun&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You can use the format function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#now" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#now&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;${now():format('yyyyMMdd-HHmmss')}&lt;/PRE&gt;&lt;P&gt;I'd not recommend using the character ":" in file names.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Jun 2017 23:14:10 GMT</pubDate>
    <dc:creator>pvillard</dc:creator>
    <dc:date>2017-06-17T23:14:10Z</dc:date>
    <item>
      <title>Nifi  - PutHDFS - now() time format</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-PutHDFS-now-time-format/m-p/211979#M63117</link>
      <description>&lt;PRE&gt;${filename}.${now():toNumber()}
&lt;/PRE&gt;&lt;P&gt;
	I am newbie when it comes to NIFI . My cluster is managed by Cloudera manager .&lt;/P&gt;&lt;P&gt;
	I am trying to do simple poc  - for checking duplicates files .&lt;/P&gt;&lt;P&gt;
	I would like to get my file written in HDFS as filename_now_date_timestamps(HH:MM:SS) &lt;/P&gt;&lt;P&gt;
	I am trying the above expression  unable to achive &lt;/P&gt;&lt;P&gt;
	could anyone help me out this .&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 15:50:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-PutHDFS-now-time-format/m-p/211979#M63117</guid>
      <dc:creator>matt123</dc:creator>
      <dc:date>2017-06-17T15:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi  - PutHDFS - now() time format</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-PutHDFS-now-time-format/m-p/211980#M63118</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/20182/rockyyydude.html" nodeid="20182"&gt;@Guna sun&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You can use the format function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#now" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#now&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;${now():format('yyyyMMdd-HHmmss')}&lt;/PRE&gt;&lt;P&gt;I'd not recommend using the character ":" in file names.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 23:14:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-PutHDFS-now-time-format/m-p/211980#M63118</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-06-17T23:14:10Z</dc:date>
    </item>
  </channel>
</rss>

