Skip to content

Asset Bundle Deployment always triggers Cluster restart #3286

@brain246

Description

@brain246

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

  1. Create a cluster definition (see example above)
  2. Run databricks bundle deploy ...
  3. Wait for the cluster to be created and spun up
  4. Run databricks bundle deploy ... again
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions