โ07-09-2025 08:47 AM - edited โ07-09-2025 08:48 AM
Hi Everyone,
I am trying to create mount point in Azure Databricks, but mount point creation is failing with below error message.
java.lang.UnsupportedOperationException: Managing DBFS mounts is not supported on this type of compute resource. Use Unity Catalog Volumes or External Locations instead.
val containerName = "input"
val storageAccountName = "sttestblobdata001"
val sas = "..."
val url = "wasbs://" + containerName + "@" + storageAccountName + ".blob.core.windows.net/"
val config = "fs.azure.sas." + containerName + "." + storageAccountName + ".blob.core.windows.net"
dbutils.fs.mount(
source = url,
mountPoint = "/mnt/input",
extraConfigs = Map(config -> sas))
To troubleshoot, I downgraded the cluster to Databricks Runtime 15.4 LTS and also tried 16.4, but I still get the same error.
Any guidance would be highly appreciated. Thanks in advance!
Cluster
Code Error:-
#AzureDatabricks #DBFS #UnityCatalog #MountPoint #AzureStorage #DataEngineering #DatabricksHelp #BlobStorage
โ07-09-2025 09:09 AM
Hi @vishalyennam ,
Check your compute access mode. Compute resources configured with the dedicated access mode have full access to DBFS, including all files in the DBFS root and mounted data.
Anyway, DBFS is depracted access pattern. You should use Unity Catalog way instead.
โ07-09-2025 09:09 AM
Hi @vishalyennam ,
Check your compute access mode. Compute resources configured with the dedicated access mode have full access to DBFS, including all files in the DBFS root and mounted data.
Anyway, DBFS is depracted access pattern. You should use Unity Catalog way instead.
โ07-09-2025 11:36 AM
Hi @szymon_dybczak
can you please give me the steps how to see compute access mode and what access should i give to the compute
โ07-09-2025 11:59 AM - edited โ07-09-2025 12:01 PM
Hi @vishalyennam ,
Sure, go to Compute -> Select your cluster -> Find Access mode -> Select Dedicated
โ07-09-2025 11:49 AM
You'll need to edit the cluster's configuration. This involves navigating to the compute details UI, finding the "Access mode" setting, and selecting "No Isolation Shared". With dedicated and standard mode you will not be able to create mount points
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now