Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Error handling ListSFTP

avatar
Explorer

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

1 ACCEPTED SOLUTION

avatar
Master Mentor

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

 

[1] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-site-to-site-reporting-nar/1....

 

If you found this addressed your query, please take a moment to login and click "Accept" on this solution.
Thank you,

Matt

View solution in original post

2 REPLIES 2

avatar
Master Mentor

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

 

[1] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-site-to-site-reporting-nar/1....

 

If you found this addressed your query, please take a moment to login and click "Accept" on this solution.
Thank you,

Matt

avatar
Community Manager

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