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:ย 

Unity Catalog-Error Creating Table ErrorClass=INVALID_STATE] Failed to access cloud storage: AbfsRestOperationException

ryan321321
New Contributor III

I have managed to create my catalog and schema on unity catalog.

Added Storage Blob Contributor role to the unity catalog metastore in ADLS for the Access Connector for Azure Databricks.

image.pngimagehowever, when trying to create a table i received this error:

Error in SQL statement: UnityCatalogServiceException: [RequestId=db5e5795-bd62-4185-b97f-1d240ee5b73b ErrorClass=INVALID_STATE] Failed to access cloud storage: AbfsRestOperationException exceptionTraceId=094237f6-141c-44d7-85c7-104215baa913

image

9 REPLIES 9

Debayan
Databricks Employee
Databricks Employee

Hi, simultaneously could you please raise a case to Microsoft Azure and ask them to engage storage team on the same (they can check the backend logs with the trace ID: AbfsRestOperationException exceptionTraceId=094237f6-141c-44d7-85c7-104215baa913).

Please let us know the update and if this helps.

ryan321321
New Contributor III

have done so, support was not able to solve it. They ask me to ask the same question on microsoft help community...

NotThatTomSmith
New Contributor II

I was getting the exact same error when trying to work with a newly created metastore in Azure Databricks.

Ended up having to follow the 'upgrade' steps located here:

https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/azure-managed-ident...

Basically need to run the set of cURL commands to re-create the storage credential and hook it up to the metastore. These needed to be run as the Azure account admin.

Once I did that I was able to create tables.

I had the same issue over in this thread https://community.databricks.com/s/question/0D58Y00009qrAVvSAM/unclear-validation-error-message-when... and following the upgrade guide worked for me as well. Thanks for sharing!

mahwish
New Contributor II

I am getting same error but i have created metastore using managed identity. I have provided the managed identity access connector "Storage blob data contributer" role on storage account used for metastore but still getting this issue.

alexlod
New Contributor III

Did you try @Tom Smithโ€‹'s suggestion? See above.

Mitsel
New Contributor II

I have the same issue with @mahwish chohdryโ€‹ and have tried @Tom Smithโ€‹ suggestion which didn't work for me.

mahwish
New Contributor II

My issue resolved. Here are the steps i followed:

  • Please check your metastore URL it should be as:

<container name>@<storagename>.dfs.core.windows.not/directory

(i was misplaced the container name with storage and storage name with container that was causing issue. )

  • Managed identity should be enabled for access connector for databricks.
  • The access connector for databricks which you are using for metastore should have "storage blob data contributer" access on storage account which you are using for metastore .
  • Storage account used for metastore, access connector and metastore should be in same region.

Anonymous
Not applicable

Hi @adam wongโ€‹ 

Thank you for your question! To assist you better, please take a moment to review the answer and let me know if it best fits your needs.

Please help us select the best solution by clicking on "Select As Best" if it does.

Your feedback will help us ensure that we are providing the best possible service to you. Thank you!

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