cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

External locations

Snoonan
Contributor

Hi all,

I am getting an error when I try to 'Browse' an external location in catalog explorer through Databricks UI.

This is the error I get:

 

Error loading files.
Input path url 'abfss://dbx-ccc-hive-metastore-unity-catalog@xxxxxxxxxx.dfs.core.windows.net/__unitystorage' overlaps with managed storage within 'ListFiles' call
 
Has anyone seen this error before and/or understands what is going wrong?
 
Thanks,
Sean
2 ACCEPTED SOLUTIONS

Accepted Solutions

NandiniN
Honored Contributor
Honored Contributor

Hi Sean,

This is expected for a managed path, as a user, we are not supposed to directly access paths that are managed by UC.

Hope you are able to access this KB with detailed info - https://kb.databricks.com/unity-catalog/invalid_parameter_valuelocation_overlap-overlaps-with-manage...

Thanks!

View solution in original post

Snoonan
Contributor

Hi @NandiniN ,

Thank you for quashing my concerns.

Thanks,

Sean

View solution in original post

6 REPLIES 6

NandiniN
Honored Contributor
Honored Contributor

Hi Sean,

This is expected for a managed path, as a user, we are not supposed to directly access paths that are managed by UC.

Hope you are able to access this KB with detailed info - https://kb.databricks.com/unity-catalog/invalid_parameter_valuelocation_overlap-overlaps-with-manage...

Thanks!

Hi NandiniN,

I'm having the same error. Let me give you some context of my use case.

I need to calculate the size of the container, so I created a function that loops over the folder structure using "dbutils.fs.ls". Inside container we have both, external and managed tables. But I'm not attempting to create anything inside container, just need to read every file size inside container. When attempting to do so, is that I'm getting below error.

===== ERROR =====
[RequestId=887e131d-4cea-41f6-a226-7b804e07f938 ErrorClass=INVALID_PARAMETER_VALUE.LOCATION_OVERLAP] Input path url 'abfss://<container>@<storage_account>.dfs.core.windows.net/managed/<subfolder>/data/__unitystorage' overlaps with managed storage within 'ListFiles' call. 

I've assigned permissions "Storage Blob Data Contributor" + "Storage Blob Data Owner" on storage account to the  Managed Identity declared in Catalog. I've also added permissions "ALL PRIVILEGES" on External location and Storage Credentials. But I'm still getting the same error.

Is this supported in UC? If this is not the best approach, how would you achieve this task?

Regards, Emiliano

Snoonan
Contributor

Hi @NandiniN ,

Thank you for quashing my concerns.

Thanks,

Sean

gmiguel
Contributor

Adding some tips...
It seems that you have created a metastore with root path definition (metastore-level managed storage). If you're planning to deploy a multi-workspace environment (Development, QA and Production), I strongly recommend you to change this configuration to Catalog-level storage. 

Since in general those kind of environments should be isolated, you will have tough days as soon as it gets bigger when using metastore-level storage.

 

Hi @gmiguel ,

Thank you for the advice.

Is this a setting when creating the metastore, or do I simply not specify an external location for metastore and only do so for catalogs?

Thanks,

Sean

Simply do not specify a location during metastore creation. Do it at catalog level and schema level (optional).

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