Reply
New Contributor
Posts: 2
Registered: ‎03-18-2015

How can you set up alerts that send an email when a YARN job fails?

I am trying to find an option that is part of Cloudera Manager that will send an alert when a YARN job has failed. It seems like apps_failed_cumulative_rate stream does not show the metrics I would expect based on actual number of failed jobs.

Explorer
Posts: 8
Registered: ‎03-24-2015

Re: How can you set up alerts that send an email when a YARN job fails?

Any update on this issue?

 

New Contributor
Posts: 2
Registered: ‎03-18-2015

Re: How can you set up alerts that send an email when a YARN job fails?

I never found a good way to do this through the Cloudera Manager UI.

 

FWIW:

What I ended up doing was creating a script that polls the Cloudera Manager API for info on the state of YARN jobs and alerts based on unwanted states. I just sent an email out with info on the failed jobs.

 

(url for api clients: http://cloudera.github.io/cm_api/)

New Contributor
Posts: 1
Registered: ‎08-26-2017

Re: How can you set up alerts that send an email when a YARN job fails?

is there any coniguration in expression we can do to set so that we can get the email alert as job fails.

 

can you give that expression details

Highlighted
Expert Contributor
Posts: 252
Registered: ‎01-25-2017

Re: How can you set up alerts that send an email when a YARN job fails?

Hi arlo,

Do you mind to shared the script so it can be reused?
Announcements