Default access mode for jobs compute
This article describes how to set a default access mode for jobs compute in a workspace.
This setting applies to compute resources created using the Jobs API where the access mode isn't defined in the cluster definition (configured using the job_clusters.new_cluster.data_security_mode
property). This situation is more prevalent in legacy jobs that were authored before access mode was introduced.
To define a default access mode:
- Click your username in the top bar of the Azure Databricks workspace and select Settings.
- Click the Security tab.
- Next to Default access mode for jobs compute, use the dropdown to select an access mode.
Important
Changing this setting updates the access mode for all jobs compute in the workspace that do not have an explicitly defined access mode. Altering this setting could cause breakages if the new access mode prevents workloads from running on the impacted compute resources.
Best practices
If you have onboarded your workloads to Unity Catalog, Databricks recommends setting the value to Shared or Single user. See Access modes.
If you choose not to select a default access mode for your workspace, jobs compute with undefined access modes will default to No isolation shared, which allows multiple users to share the compute resource with no isolation between users.