Support Questions

Find answers, ask questions, and share your expertise

Preserve timestamp in putHDFS

avatar
New Contributor

Hi Team,

 
Me & my team has an urgent requirement of preserving the timestamp of the files that are present on remote ftp server while we are writing to HDFS. We are able to write files on to HDFS using Nifi but the timestamp is getting modified. 
 
Is there some way I can prevent the timestamps of files? Looking forward to your reply.
1 REPLY 1

avatar

After checking the putHDFS processor I did not find the destination timestamp to be a configuration option. 

 

However, when checking the configuration options of hadoop fs -put it does show a timestamp option. This suggests there may be a way to achieve what you are looking for.

 

My recommendation would be to log a jira on the Apache Nifi project, and reach out to your account team to see if they can push the priority.


- Dennis Jaheruddin

If this answer helped, please mark it as 'solved' and/or if it is valuable for future readers please apply 'kudos'.