cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Not able to create mount point in Databricks

vishalyennam
New Contributor II

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

Screenshot (142).png

Code Error:-

Screenshot (141).png

#AzureDatabricks #DBFS #UnityCatalog #MountPoint #AzureStorage #DataEngineering #DatabricksHelp #BlobStorage

1 ACCEPTED SOLUTION

Accepted Solutions

szymon_dybczak
Esteemed Contributor III

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.

View solution in original post

4 REPLIES 4

szymon_dybczak
Esteemed Contributor III

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.

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

szymon_dybczak
Esteemed Contributor III

Hi @vishalyennam ,

Sure, go to Compute -> Select your cluster -> Find Access mode -> Select Dedicated

szymon_dybczak_1-1752087545641.png

 

nayan_wylde
Honored Contributor

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