Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi: how does listFile recognizes which filesa are newly added?

avatar
Contributor

As i have recognized each flowfile has it's different timestamp and if we send new flowfile in listHdfs processor it will have different timestamp from old ones so processor will send it to sucess "queue" , but what if there will be network or electricity problem and nifi will be timely turn off , in this case will listHdfs processor remember the last state?

1 ACCEPTED SOLUTION

avatar
@sally sally

If the server NiFi is running on shuts down, NiFi when restarted, will come back up in the last known state. So, the state for the ListHDFS processor will be recovered and it will resume the listing from the last known timestamp.

View solution in original post

1 REPLY 1

avatar
@sally sally

If the server NiFi is running on shuts down, NiFi when restarted, will come back up in the last known state. So, the state for the ListHDFS processor will be recovered and it will resume the listing from the last known timestamp.