- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Error handling ListSFTP
- Labels:
-
Apache NiFi
Created on 04-13-2021 02:24 AM - edited 04-13-2021 05:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to do error handling for ListSFTP processor (eg. if it fails to connect to SFTP server due to any reason)? The only connection it shows is "Success".
Created 06-08-2021 07:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@AnkushKoul
You would need to do this through some other monitoring flow.
When a NiFi components encounters a failure, it will produce a bulletin which correlates to an ERROR log entry. NiFi has a SiteToSIteBulletingReportingTask [1] which can be setup to send these produced bulletins over Site-To-Site (S2S) to another NiFi or this same NiFi as FlowFiles which can be parsed via a dataflow and notifications sent out via email.
If you found this addressed your query, please take a moment to login and click "Accept" on this solution.
Thank you,
Matt
Created 06-08-2021 07:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@AnkushKoul
You would need to do this through some other monitoring flow.
When a NiFi components encounters a failure, it will produce a bulletin which correlates to an ERROR log entry. NiFi has a SiteToSIteBulletingReportingTask [1] which can be setup to send these produced bulletins over Site-To-Site (S2S) to another NiFi or this same NiFi as FlowFiles which can be parsed via a dataflow and notifications sent out via email.
If you found this addressed your query, please take a moment to login and click "Accept" on this solution.
Thank you,
Matt
Created on 06-13-2021 10:58 PM - edited 06-13-2021 10:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@AnkushKoul , did @MattWho's response resolve your issue? If so, can you please mark it as the solution? It will make it easier for others to find the answer in the future.
Regards,
Vidya Sargur,Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
