US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: Handling error in parent jobs

  1. #1

    Default Handling error in parent jobs

    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?

    parent_job.JPG




    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;
    child_job_try_1.JPG


    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;
    child_job_try_2.JPG


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

    -Thanks & Regards,
    Deepak

  2. #2

    Default It works.

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •