Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution

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

New 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

Accepted Solutions

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

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

1 REPLY 1

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

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

Don't have an account?
Coming from Hortonworks? Activate your account here