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

Error : No metastore assigned for the current workspace

164079
Contributor II

Hi team,

Is anyone encounter this error?

AnalysisException: [RequestId=d065497e-b88c-4687-9687-d7180663e7ba ErrorClass=METASTORE_DOES_NOT_EXIST] No metastore assigned for the current workspace

We are using Databricks on AWS

Thanks!

4 REPLIES 4

grazie
Contributor

We see the same error, and can trigger it by trying to list a directory with dbutils.

dbutils.fs.ls("some_abfss_path") 
-->
[RequestId=74f37535-0483-4822-bd76-83951839b63b ErrorClass=METASTORE_DOES_NOT_EXIST] No metastore assigned for the current workspace.

Running Azure Databricks

Debayan
Databricks Employee
Databricks Employee

Hi, Could you please confirm which cluster security mode has been used? Please check the JSON of the cluster. It needs to be as below:

"data_security_mode": "LEGACY_SINGLE_USER_STANDARD"

Please let us know if this helps.

grazie
Contributor

I did test with different access modes and found that it indeed works with "data_security_mode": "LEGACY_SINGLE_USER_STANDARD". I also found clusters with no entry for "data_security_mode" which worked as expected.

Debayan
Databricks Employee
Databricks Employee

Hi @Geir Iversenโ€‹ , Thanks for your confirmation.

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