Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Following job running on failure of the prior job.

  1. #1
    Join Date
    Mar 2014
    Posts
    181

    Default Following job running on failure of the prior job.

    Hi all,

    I have a case where I have one big Kettle job consisting of Job A ->Job B -> Job C-> Job D - > Success.

    Each of the jobs consists of a set of transformations that are executed sequentially one after another.

    The Hops between jobs are configured to run when the prior job has successfully run.

    There is a transformation that fails in Job B but instead of the entire big job failing, Job C continues to run even on failure of Job B.

    What would be best architecture or design scenarios to avoid this?

    Thanks,

    Ron

  2. #2
    Join Date
    Apr 2008
    Posts
    4,690

    Default

    Make sure your transforms send to Abort job entry when they fail...
    And as always, post a sample set to illustrate the problem.

  3. #3
    Join Date
    Mar 2014
    Posts
    181

    Default

    Quote Originally Posted by gutlez View Post
    Make sure your transforms send to Abort job entry when they fail...
    And as always, post a sample set to illustrate the problem.
    My apologies..

    I will try it out.

    Thanks,

    Ron

  4. #4
    Join Date
    Mar 2014
    Posts
    181

    Default

    Gutlez,

    I have attached a job on dropbox with some transformations, here is the URL link https://www.dropbox.com/sh/mec6nxvsm...0N6IOJj9a?dl=0.

    My question is am I supposed to append the Abort job entry step on the each job?

    Thanks,

    Ron

  5. #5
    Join Date
    Apr 2008
    Posts
    4,690

    Default

    Are your transforms actually failing, or are they just not doing any work?

    It should populate up correctly based on the jobs you posted (but your post isn't actually runnable... make sure you use relative references like ${Internal.Job.Filename.Directory} throughout) but if the transform doesn't fail (it only doesn't do any work) then it will conclude with a success code.

  6. #6
    Join Date
    Mar 2014
    Posts
    181

    Default

    Quote Originally Posted by gutlez View Post
    Are your transforms actually failing, or are they just not doing any work?

    It should populate up correctly based on the jobs you posted (but your post isn't actually runnable... make sure you use relative references like ${Internal.Job.Filename.Directory} throughout) but if the transform doesn't fail (it only doesn't do any work) then it will conclude with a success code.
    They were not doing anything but the proceeding job ran.

    Thanks for the tip though.

    Thanks,

    Ron

  7. #7
    Join Date
    Apr 2008
    Posts
    4,690

    Default

    Quote Originally Posted by Ron256 View Post
    There is a transformation that fails in Job B but instead of the entire big job failing, Job C continues to run even on failure of Job B.
    Can you show us this scenario?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.