03-08-2023 10:28 PM
Based on [an answer in this community](https://community.databricks.com/s/question/0D58Y00009jfKM1SAM/error-no-metastore-assigned-for-the-current-workspace), we set "data security mode" to LEGACY_SINGLE_USER_STANDARD in a cluster policy which needed to access files through dbutil.fs in a workspace and that previously got the NO METASTORE error that the above answer resolved.
However, now I was unable to create a cluster using this policy - could it be that LEGACY_SINGLE_USER_STANDARD is no longer supported? I looked in release notes, but couldn't find info about that there.
If so, what is the approach to solve the same issue now?
03-11-2023 06:52 AM
@Geir Iversen Below cluster policy works for me. BTW access to the file system is allowed in single user mode in Unity Catalog. Did you try this access mode?
"data_security_mode": {
"type": "allowlist",
"values": [
"SINGLE_USER",
"LEGACY_SINGLE_USER",
"LEGACY_SINGLE_USER_STANDARD"
],
"defaultValue": "SINGLE_USER",
"hidden": true
},
03-11-2023 06:52 AM
@Geir Iversen Below cluster policy works for me. BTW access to the file system is allowed in single user mode in Unity Catalog. Did you try this access mode?
"data_security_mode": {
"type": "allowlist",
"values": [
"SINGLE_USER",
"LEGACY_SINGLE_USER",
"LEGACY_SINGLE_USER_STANDARD"
],
"defaultValue": "SINGLE_USER",
"hidden": true
},
07-04-2024 11:19 PM
Hi,
Can you please guide me where to edit this configuration, I could not edit the configuration in cluster compute. Please let me know how to add the above configuration in cluster compute.
03-21-2023 04:03 AM
changing to SINGLE_USER in the policy allowed us to create clusters, and they didn't have the "NO METASTORE issue".
05-24-2023 04:00 AM
Now we do have this issue again, starting today. With the SINGLE_USER access mode
05-24-2023 05:16 AM
...and it works again - no changes made by us
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