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: 

External connection to Azure ADLS Gen2 storage

cmunteanu
Contributor

Hello,

 

I have a problem trying to make an external connection to a blob storage configured as ADLS Gen2 with hierarchical namespace (HNS) enabled. I have setuup the storage account with a container wirh HNS enabled as in the image attached:

cmunteanu_0-1739883785698.png

Next I have configured in Azure an Access Connector for Azure Databricks that I use as a Storage credential when setting up the external connection:

cmunteanu_1-1739883952145.png

But still when creating the external location I get the error that HNS was not enabled on my Azure blob storage:

cmunteanu_2-1739885124675.png

Any suggestions on how to make it work ?

Thanks

 

 

2 REPLIES 2

hao_hu
New Contributor II

Hi, would it work if you try to remove "landing" at the end? 🙂 Seems the error is complaining that the external location should be a directory.

 
 
 

Hi, landing is an actual directory in the Azure container. The problem is that Databricks considers it a file, I have checked that the storage credential permissions ant they seem Ok

 

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