cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
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
Esteemed Contributor III
Esteemed Contributor III

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
Esteemed Contributor III
Esteemed Contributor III

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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.