<?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: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403995#M252253</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111814"&gt;@NaveenSagar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think I know your issue.&amp;nbsp; You can encounter unexpected result when you do you use the correct simpleDateFormat.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;You are using below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;${now():format('YYYYMMddHHmmss')}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;It should be:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;${now():format('yyyyMMddHHmmss')}&lt;/LI-CODE&gt;&lt;P&gt;NiFi uses Java Date patterns:&lt;BR /&gt;&lt;A href="https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html" target="_blank"&gt;https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"y" is used for year&lt;/P&gt;&lt;P&gt;"Y" is used for&amp;nbsp;&lt;SPAN&gt;Week year&lt;BR /&gt;&lt;BR /&gt;Fixing your date format should prevent you from seeing issue in the future.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 18:03:17 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-03-12T18:03:17Z</dc:date>
    <item>
      <title>Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403658#M252144</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We recently observed an unusual scenario in NiFi where timestamps like '20251229043001', '20251230043001', and '20251231043001' were generated for December 29, 2024, December 30, 2024, and December 31, 2024. These timestamps correspond to future dates, which seems abnormal. I suspect that this issue may have occurred due to a change in the timezone settings of the NiFi server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please assist in investigating the root cause of this discrepancy?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 06:27:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403658#M252144</guid>
      <dc:creator>NaveenSagar</dc:creator>
      <dc:date>2025-03-06T06:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403664#M252149</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111814"&gt;@NaveenSagar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Welcome to the community.&lt;BR /&gt;&lt;BR /&gt;There is not enough information provided to investigate your issue.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What version of Apache NiFi are you using?&lt;/LI&gt;&lt;LI&gt;What processor(s) is producing the timestamps in question?&lt;/LI&gt;&lt;LI&gt;What is the configuration of the processor(s)?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 13:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403664#M252149</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-03-06T13:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403669#M252153</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;,&lt;BR /&gt;1. We are using NiFi 1.17&lt;BR /&gt;2. I used UpdateAttribute Processor&lt;BR /&gt;3. Used&amp;nbsp;${now():format('YYYYMMddHHmmss')} this expression to generate current timestamp.&lt;BR /&gt;But for last 3 days of Dec 2024 , we got feature dates as 20251229......etc.&lt;BR /&gt;&lt;BR /&gt;This is a global issue or please assist to find the root cause.&lt;BR /&gt;Checked NiFi logs and System logs , all looks good.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 14:45:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403669#M252153</guid>
      <dc:creator>NaveenSagar</dc:creator>
      <dc:date>2025-03-06T14:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403674#M252158</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111814"&gt;@NaveenSagar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Typically when odd timestamp behavior like this is seen it is caused by some custom processor or script being executed within some NiFi dataflow that is timezone in Java or messing with java date which ends impacting the rest of NiFi.&amp;nbsp; &amp;nbsp;So I'd recommend looking at any custom processors or scripts you have being executed to see if any of them is manipulating the Java time.&amp;nbsp; The impacts of doing such things will impact the JVM that all NiFi components are using.&amp;nbsp; &amp;nbsp;Restart would return things to normal until such script or custom processor was executed again.&lt;BR /&gt;&lt;BR /&gt;I can't think of anything else that would impact here.&lt;BR /&gt;The now() function returns the current date and time.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;So not knowing exactly what was being manipulated and adjusted with regards to system time in the end of December 24, I have no other suggestions.&amp;nbsp; &amp;nbsp;Perhaps whomever was adjusting timezones made a mistake(s) and then corrected them.&amp;nbsp; Are you a NIFi cluster or standalone single NiFi instance?&amp;nbsp; If you are a NiFi cluster was same observation made on every node in the cluster or only impacted FlowFiles on one of the nodes.&lt;BR /&gt;&lt;BR /&gt;Apache NiFi 1.17 is ~3 years old.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 19:53:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403674#M252158</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-03-06T19:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403684#M252163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;, Thank you so much for reply.&lt;BR /&gt;We have a 3 node cluster and&amp;nbsp; it is affected in all 3 nodes.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 05:21:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403684#M252163</guid>
      <dc:creator>NaveenSagar</dc:creator>
      <dc:date>2025-03-07T05:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403922#M252233</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111814"&gt;@NaveenSagar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was not able to reproduce in my NiFi (1.26 based).&amp;nbsp; All I can figure is that some changes occurred that impacted the dates in those three days and not afterwards or perhaps the timestamps produced by the&amp;nbsp;&lt;SPAN&gt;${now():format('YYYYMMddHHmmss')} were manipulated downstream in your dataflow by another processor?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 13:21:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403922#M252233</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-03-11T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403962#M252248</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;This occured only for those 3 dates and from next date till today it is working normal.&lt;BR /&gt;NOTE: this issue happened in all dev , QA, PROD environments.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 09:46:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403962#M252248</guid>
      <dc:creator>NaveenSagar</dc:creator>
      <dc:date>2025-03-12T09:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403995#M252253</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111814"&gt;@NaveenSagar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think I know your issue.&amp;nbsp; You can encounter unexpected result when you do you use the correct simpleDateFormat.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;You are using below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;${now():format('YYYYMMddHHmmss')}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;It should be:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;${now():format('yyyyMMddHHmmss')}&lt;/LI-CODE&gt;&lt;P&gt;NiFi uses Java Date patterns:&lt;BR /&gt;&lt;A href="https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html" target="_blank"&gt;https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"y" is used for year&lt;/P&gt;&lt;P&gt;"Y" is used for&amp;nbsp;&lt;SPAN&gt;Week year&lt;BR /&gt;&lt;BR /&gt;Fixing your date format should prevent you from seeing issue in the future.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 18:03:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/403995#M252253</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-03-12T18:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Investigation of Future Timestamps Generated in NiFi Due to Server Timezone Change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/404283#M252303</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111814"&gt;@NaveenSagar&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 18:45:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Investigation-of-Future-Timestamps-Generated-in-NiFi-Due-to/m-p/404283#M252303</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-03-17T18:45:38Z</dc:date>
    </item>
  </channel>
</rss>

