- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Nifi : putHDFS losing Data
- Labels:
-
Apache NiFi
Created ‎11-07-2016 06:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
When putHdfs Process with Data what happen if the Nifi node crash or if fail to write to HDFS ?
It is possible to rerun a specific flowfile ?
Regards
Created ‎11-07-2016 06:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If it failed to write the data to HDFS it would transfer the flow file to the failed relationship, which you route back to itself to keep re-trying, or route to whatever you want to do to handle the error.
If the NiFi node crashed while it was in process of writing the data, but hadn't committed the session in the processor, then when the node restarts that flow file will still be in the queue before the processor and will be tried again.
There should not be data loss.
Created ‎11-07-2016 06:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If it failed to write the data to HDFS it would transfer the flow file to the failed relationship, which you route back to itself to keep re-trying, or route to whatever you want to do to handle the error.
If the NiFi node crashed while it was in process of writing the data, but hadn't committed the session in the processor, then when the node restarts that flow file will still be in the queue before the processor and will be tried again.
There should not be data loss.
Created ‎11-07-2016 08:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. It is very clear.
