Describe the issue
When defining (all purpose) clusters in asset bundles, the clusters will be restarted after each deployment, even if nothing has changed in the spec.
In the cluster event logs i can see a "Compute edited by " after each deployment. That log entry has a json payload that is probably supposed to show the changes, but oh well, there aren't any in my case...
Configuration
Cluster definition:
my_cluster:
data_security_mode: DATA_SECURITY_MODE_DEDICATED
cluster_name: 'All Purpose for me'
single_user_name: ${workspace.current_user.userName}
kind: CLASSIC_PREVIEW
runtime_engine: STANDARD
spark_version: 16.2.x-scala2.12
node_type_id: Standard_D4ads_v5
driver_node_type_id: Standard_D4ads_v5
autotermination_minutes: 60
is_single_node: true
enable_local_disk_encryption: false
num_workers: 1
Steps to reproduce the behavior
- Create a cluster definition (see example above)
- Run
databricks bundle deploy ...
- Wait for the cluster to be created and spun up
- Run
databricks bundle deploy ... again
- Watch the cluster being restarted or check event log (Compute edited by...)
Expected Behavior
The expected behavior is, that in case of no changes to the cluster configuration, the cluster should be untouched and available all the time (no restarts).
Actual Behavior
Cluster is restarting on each deployment, regardless of changes or not.
OS and CLI version
OS: Windows 11
CLI version: v0.260.0
Is this a regression?
Never used the feature before.
Debug Logs
cluster_eventlog.json
Describe the issue
When defining (all purpose) clusters in asset bundles, the clusters will be restarted after each deployment, even if nothing has changed in the spec.
In the cluster event logs i can see a "Compute edited by " after each deployment. That log entry has a json payload that is probably supposed to show the changes, but oh well, there aren't any in my case...
Configuration
Cluster definition:
Steps to reproduce the behavior
databricks bundle deploy ...databricks bundle deploy ...againExpected Behavior
The expected behavior is, that in case of no changes to the cluster configuration, the cluster should be untouched and available all the time (no restarts).
Actual Behavior
Cluster is restarting on each deployment, regardless of changes or not.
OS and CLI version
OS: Windows 11
CLI version: v0.260.0
Is this a regression?
Never used the feature before.
Debug Logs
cluster_eventlog.json