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
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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!