Azure Databricks · Arazzo Workflow
Azure Databricks Restart a Running Cluster and Wait
Version 1.0.0
Restart a running cluster and poll until it returns to RUNNING.
View Spec
View on GitHub
AnalyticsApache SparkBig DataData EngineeringMachine LearningArazzoWorkflows
Provider
Workflows
restart-cluster-and-wait
Restart a running cluster and wait until it is RUNNING again.
Verifies the cluster is RUNNING, restarts it, then polls getCluster until the state returns to RUNNING, branching to a failure end on TERMINATED.
1
confirmRunning
getCluster
Confirm the cluster is currently RUNNING before issuing a restart, since restart is only valid for a running cluster.
2
restartCluster
restartCluster
Issue the restart. The cluster transitions to RESTARTING and then back to RUNNING when the restart completes.
3
pollCluster
getCluster
Retrieve the current cluster state. Repeat until the cluster reports RUNNING again; branch to failure if it reports TERMINATED or ERROR.
4
reportFailure
getCluster
Read the cluster once more to capture the termination reason when the restart did not return to RUNNING.