How to restart the cluster with new instances?

brickster_2018
Databricks Employee
Databricks Employee

Whenever I restart a Databricks cluster new instances are not launched. This is because Databricks re-uses the instances. However, sometimes it's needed to launch new instances. Some scenarios are to mitigate a bad VM issue or maybe to get a patch from the cloud provider which is available only on new instances. I can stop and start the cluster, but looking for some easy ways for the same

brickster_2018
Databricks Employee
Databricks Employee

Currently, there is no direct option to restart the cluster with new instances. An easy hack to ensure new instances are launched is to add Cluster tags on your cluster. This will ensure that new instances have to be acquired as it's not possible to append tags on the exisitng VM. 

https://docs.databricks.com/clusters/configure.html#environment-variables

View solution in original post