Azure Databricks · Arazzo Workflow
Azure Databricks Resize a Running Cluster and Wait
Version 1.0.0
Edit a running cluster's worker count and poll until it is RUNNING.
View Spec
View on GitHub
AnalyticsApache SparkBig DataData EngineeringMachine LearningArazzoWorkflows
Provider
Workflows
resize-running-cluster
Resize a running cluster's worker count and wait for it to settle.
Reads the current cluster config, edits it with a new num_workers value, then polls getCluster until the state returns to RUNNING.
1
readCluster
getCluster
Read the cluster to capture the cluster_name, spark_version, and node_type_id required as part of the edit request body.
2
editCluster
editCluster
Edit the cluster with the new worker count. A running cluster is restarted with the new configuration applied.
3
pollCluster
getCluster
Retrieve the current cluster state. Repeat until the cluster is RUNNING again after the resize; branch to failure if it terminates.
4
reportFailure
getCluster
Read the cluster once more to capture the termination reason when the resize did not return to RUNNING.