PDA

View Full Version : Handling error in parent jobs



kar_deepak
05-20-2007, 10:29 AM
Hi,
I am using kettle 2.4.0

Referring to parent_job in parent_job.jpg in attachment, I want to know - Will 'Handle Parent Failure' job get executed ever?

614




I tried following in child job -

Try - I
Refering to the attached 'child_job_try_1.JPG'
where shell script just has one line - exit 1;
615


Result :
1) child job got terminated at shell step and neither of 'Handle Parent Success' nor 'Handle Parent Failure' job got called.


Try - II
Refering to the attached 'child_job_try_2.JPG'
where shell script just has one line - exit 1;
616


Result :
1) ‘Handle Child Failure’ job got executed
2) ‘Handle Parent Success’ job got executed.

-Thanks & Regards,
Deepak

kar_deepak
05-20-2007, 04:22 PM
My bad.
I found that - Try I mentioned in earlier message i.e. 'child_job_try_1.JPG' does work.
Sorry for wrong post.
-Deepak