Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar

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.