Resizes a cluster to have a desired number of workers. This will fail unless
the cluster is in a RUNNING
state.
Usage
resize_cluster(client, cluster_id, autoscale = NULL, num_workers = NULL)
clustersResize(client, cluster_id, autoscale = NULL, num_workers = NULL)
Arguments
- client
Required. Instance of DatabricksClient()
- cluster_id
Required. The cluster to be resized.
- autoscale
Parameters needed in order to automatically scale clusters up and down based on load.
- num_workers
Number of worker nodes that this cluster should have.