Azure Databricks · Arazzo Workflow
Azure Databricks Create a Job and Run It to Completion
Version 1.0.0
Create a notebook job, trigger a run, and poll until TERMINATED.
View Spec
View on GitHub
AnalyticsApache SparkBig DataData EngineeringMachine LearningArazzoWorkflows
Provider
Workflows
create-job-and-run
Create a notebook job, run it now, and wait for the run to finish.
Creates a job with a single notebook task, triggers runJobNow, then polls getJobRun until life_cycle_state is TERMINATED, branching on result_state.
1
createJob
createJob
Create a job containing a single notebook task bound to an existing cluster. The canonical job_id is returned.
2
runJobNow
runJobNow
Trigger an immediate run of the newly created job and capture the run_id for polling.
3
pollRun
getJobRun
Retrieve the run state. Repeat until the run life_cycle_state is TERMINATED, then branch on the result_state.
4
fetchOutput
getJobRunOutput
Retrieve the notebook output for the successful run, capturing the value passed to dbutils.notebook.exit().