- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Change Timezone in Nifi
- Labels:
-
Apache NiFi
Created ‎01-06-2017 03:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I use the Nifi User Interface, I notice that the time is always set to CST, but I live in EST.
Is there a setting that I can change to reflect my relevant timezone?
Best,
Michael
Created ‎01-06-2017 04:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I fixed it with something like this. I went into the bootstrap.conf file and added this argument: java.arg.8=-Duser.timezone=America/New_York
references: http://stackoverflow.com/questions/2627992/force-java-timezone-as-gmt-utc and
https://confluence.atlassian.com/kb/setting-the-timezone-for-the-java-environment-841187402.html
Created ‎01-06-2017 03:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have NiFi installed on your machine locally, or is it on a server. It could be possible that NiFi is reflecting the time of the server on the UI.
Created ‎01-06-2017 03:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have it installed on my server, and the time on my server is the correct with the correct timezone.
Created ‎01-06-2017 04:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the server where you have installed NiFi is setup to be in EST?
Created ‎01-06-2017 04:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is it possible that the timezone was changed after you started Nifi, if possible try restarting the nifi, and it should update to the correct time zone.
Created ‎01-06-2017 04:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I fixed it with something like this. I went into the bootstrap.conf file and added this argument: java.arg.8=-Duser.timezone=America/New_York
references: http://stackoverflow.com/questions/2627992/force-java-timezone-as-gmt-utc and
https://confluence.atlassian.com/kb/setting-the-timezone-for-the-java-environment-841187402.html
Created ‎01-07-2021 03:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried "java.arg.8=-Duser.timezone=America/New_York". It does not work for me.
I posted one question earlier: https://stackoverflow.com/questions/65620632/why-do-executesqlrecord-and-csvrecordsetwriter-updated-...
Created ‎01-15-2018 12:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried changing time zone to IST and now it is showing Indian time with "GMT" tag. any solution to this problem?
