Support Questions
Find answers, ask questions, and share your expertise

Change Timezone in Nifi

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Change Timezone in Nifi

@Karthik Narayanan

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

View solution in original post

7 REPLIES 7

Re: Change Timezone in Nifi

Expert Contributor

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.

Re: Change Timezone in Nifi

I have it installed on my server, and the time on my server is the correct with the correct timezone.

Re: Change Timezone in Nifi

Expert Contributor

the server where you have installed NiFi is setup to be in EST?

Re: Change Timezone in Nifi

Expert Contributor

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.

Re: Change Timezone in Nifi

@Karthik Narayanan

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

View solution in original post

Re: Change Timezone in Nifi

Explorer

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-...

Re: Change Timezone in Nifi

New Contributor

@Karthik Narayanan

I tried changing time zone to IST and now it is showing Indian time with "GMT" tag. any solution to this problem?