You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataFusion: support stopping a specific pipeline run (CDAP Stop a Program Run) in DataFusionHook / Stop operator #61224
The Google provider’s Data Fusion integration can start a pipeline and returns a run_id (aka “pipeline_id” in Airflow operators), but the stop functionality only stops the program (not a specific run). CDAP/Data Fusion supports stopping a specific run via “Stop a Program Run”, and Airflow should expose that to avoid stopping an arbitrary run when multiple runs are active.
Use case/motivation
In CDAP, workflows can have multiple concurrent runs. The current “Stop a Program” endpoint:
POST /v3/namespaces/<namespace-id>/apps/<app-id>/<program-type>/<program-id>/stop
“…will stop one of the runs, but not all of the runs.” (CDAP Lifecycle Microservices docs)
Airflow already tracks a specific runId returned by DataFusionStartPipelineOperator (via XCom / returned value). Users need to stop that specific run deterministically, e.g. on DAG cancellation, failure cleanup, or manual stop workflows.
CDAP provides a precise endpoint:
POST /v3/namespaces/<namespace-id>/apps/<app-id>/<program-type>/<program-id>/runs/<run-id>/stop
Airflow should support calling that endpoint when a runId is available.
Activity
chirodip98 commentedon Jan 29, 2026
Kindly assign it to me