Cancel an Active Job Run
A 3-step recipe with Azure Databricks. We can help you get access.
Recipe · 3 steps
Cancel an Active Job Run
with Azure Databricks
Cancel a job run and wait until it is fully TERMINATED.
- Read the run to confirm it is currently active before issuing a cancel request.
- Issue the cancel request. Cancellation is asynchronous so the run may still be running immediately afterwards.
- Retrieve the run state. Repeat until the run life_cycle_state is TERMINATED, confirming the cancellation took effect.
What you'll need to have ready
- token: Databricks personal access token for the Authorization header.
- runId: The canonical identifier of the run to cancel.
For your developer
Arazzo workflow microsoft-azure-databricks:cancel-active-run, 3 operations: getJobRun → cancelJobRun → getJobRun. Specs on APIs.io.