cancel
Showing results for 
Search instead for 
Did you mean: 

Effect of Pipeline failure

krupalibshah
Contributor

When a pipeline fails, there are some snaps whose execution stops, want to understand how does it actually happen?

Example, I have the below pipeline,

213a51a0d0c38a20cefbbc7b6f5045baeb5bd434.jpg

when one of the pipeline in this fails I see the below statistics,

e620358e3d04fe440bc34e9d738d0fc4273af7b6.png

I do not understand why the other independent pipeline’s execution should be affected?

7 REPLIES 7

nganapathiraju
Former Employee

The pipeline execution can be stopped in two particular ways.

  1. If the underlying configuration of any snaps are not correct. In this
    case, the pipeline execution will stop the current execution and the snap
    will error out.
  2. If the underlying snap has errors view enabled, then the error view
    will capture the underlying errors.

It will error out in the above order.

In your particular case, the pipeline execute failed because of underlying
child pipeline errors. If you had errors view enabled, you would have seen
it there.

If your child pipeline had 2 unconnected outputs then the snap would have
failed right during the execution while preparing for it.

Hope that makes sense.

Thanks & Regards,
Naveen

Thank you for the information, however I am looking to understand why should failure of one child pipeline affect / stop the other child pipeline.

In my case there 2 child pipelines I am calling using pipeline execute. Now when I have an error in child1 its failure is obvious, but why is the execution of child2 be stopped?

Did you have the error view on the pipeline execute and experience this
issue? Can you enable the error view and let us know how it behaves?

Thanks & Regards,
Naveen

To clarify, child executions are not independent of their parent. All child executions are governed by their parent. If the parent is stopped, all of its child executions will be stopped as well. This behavior was chosen so that it was not possible to lose control and have runaway executions.

When child1 fails, the PipeExec snap will signal the failure by writing an error document. Since the PipeExec snap does not have the error view open and is configured to stop pipeline execution in case of an error, the snap will be marked as failed and the parent pipeline will be stopped. And, since the parent is stopped, all of the children will be stopped as well.