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: 

IllegalArgumentException: Mount failed due to invalid mount source

Mohamednazeer
New Contributor III

We are trying to create mount for containers from two different storage accounts. 

We are using Azure Storage Account and Azure Data bricks.

We could able to create mount for containers from one storage account, but when we try to create the mount for containers from other storage account we

are facing an excpetion as "IllegalArgumentException: Mount failed due to invalid mount source"

The only difference between the two storage account is, the storage account which we can able to create the mount and databricks are from same resource group. But the other storage account is from another resource group.

Could some one help me on this.

dbutils.fs.mount(source = f"wasbs://temp@samfdevpoc.blob.core.windows.net",mount_point = "/mnt/temp" ,extra_configs = {"fs.azure.account.key.samfdevpoc.blob.core.windows.net":"<use key from azure adls>"})

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Mohamednazeer
New Contributor III

Hi community,

The issue was becoz of cross vent access. The storage account and the databricks workspace both are in different vnet. Since that we had to create private end point to access the cross vnet resources. Once we crated the private endpoint the issue got resolved.

thanks

 

View solution in original post

1 REPLY 1

Mohamednazeer
New Contributor III

Hi community,

The issue was becoz of cross vent access. The storage account and the databricks workspace both are in different vnet. Since that we had to create private end point to access the cross vnet resources. Once we crated the private endpoint the issue got resolved.

thanks

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group