Support Questions

Find answers, ask questions, and share your expertise

how to list files in Nifi from a different timezone using ListSFTP processor?

avatar
New Contributor

My Nifi server uses PDT timings and i want to list files from a source server which uses UTC timing. While using ListSFTP processor, only files available till current PDT timings are getting listed. (since UTC timing is ahead, many latest files from source end are not getting listed )

I don't want to change my Nifi server timezone to UTC as it would effect other existing flows.

i dont have an option to change timezone directly in my ListSFTP processor either 😞 

How i can fix this and list all the files directly using ListSFTP processor?

 

4 REPLIES 4

avatar
Community Manager

@GowthamiK Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @mburgess @MattWho  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Guru

How is your ListSFTP processor configured? Can you increase the Entity Tracking Window to include the difference in timezones?

avatar
New Contributor

Hi @mburgess , tried increasing the Entity time tracking window to 8 hours (the time difference is 7hrs here from PDT to UTC), but still could see the same files getting listed, not the latest ones from source server as expected.

Attached the Nifi ListSFTP configuration i'm using.


Capture1.PNGCapture.PNGCapture2.PNG

avatar
Community Manager

@GowthamiK 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. If you are still experiencing the issue, can you provide the information @mburgess has requested? Thanks.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: