Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Heap Error but job status still 'SUCCESS'. How to capture the error

$
0
0
Hi All,

We have scheduled our kettle jobs using hudson where we get email notification if final exist state of the job is 'FAILURE'
Yesterday I see that job had a java heap size error in between but at the end it still says 'Job Completed successfully' ( and no error email was sent)

If we try to capture anytime a step in the job gives 'ERROR', we get so many email.

So if a job or ktr has a failure somewhere during execution but still the completion status is 'SUCCESS', what might be the best way to capture this ?
One option that I can think is scanning the execution log file after job is complete. If anywhere there is a ERROR word in the log, then send an email for error notification

Thanks

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>