Ask Your Question

Is there a way to trigger the start of another batch cluster pipeline after another finishes?

asked 2018-01-18 14:55:32 -0600

lampshadesdrifter gravatar image

updated 2018-01-18 21:08:52 -0600

metadaddy gravatar image

Like the question says, would like to trigger a pipeline after another finishes. I have an initial data ingestion pipeline that uses batch cluster mode to move data from one MapR-FS location to another (this gets started periodically using a script that uses the StreamSets CLI process). I then want to move it to another location from the previous pipeline's destination. Trying to avoid using the YARN streaming mode if possible, since I'm assuming that batch processing requires less resources over time and is faster. Is there a way to do this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-01-19 17:54:01 -0600

rupal gravatar image

You can also use Notifications. When the pipeline goes to a FINISHED state, you can trigger a REST API call for the next pipeline to start.

edit flag offensive delete link more

answered 2018-01-18 21:11:19 -0600

metadaddy gravatar image

updated 2018-01-19 16:13:14 -0600

Unfortunately, pipeline events are not supported for cluster pipelines.

However, if this were a standalone pipeline, you would be able to use the Shell Executor to run the CLI for your second pipeline, setting it to trigger on the Pipeline Stop event.

edit flag offensive delete link more


I may be using the feature incorrectly, but for a pipeline in batch cluster mode like mine, setting a stop event (eg. Write to another pipeline) other than Discard raises a validation error: "Pipeline lifecycle events are not supported in mode: BATCH CLUSTER".

lampshadesdrifter gravatar imagelampshadesdrifter ( 2018-01-19 14:51:43 -0600 )edit

You're right - I didn't realize that until just now. I corrected my answer.

metadaddy gravatar imagemetadaddy ( 2018-01-19 16:13:43 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-01-18 14:55:32 -0600

Seen: 34 times

Last updated: Jan 19