[UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 02:27 AM
Hi,
I got error [UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster, when run in the notebook to create a catalog.
Looks like I followed all the steps to set up workspace, metastore and compute. The steps are:
- create workspace from UI -> Quick Start (Recommanded)
- Update the metastore bucket policy and trust relationship, by following doc: https://docs.databricks.com/data-governance/unity-catalog/get-started.html#cloud-tenant-setup-aws
- Create metastore in the same region as workspace, assign it to workspace
- Restart compute (set up and auto start in step 1) by edit its config, make sure it's single user, single mode, and its instance profile is the IAM role to access dataset bucket that has been set up in step 1. DBR is 11.3
- In notebook 6.1. of data-engineer-learning-path-v1.1.1-notebooks.dbc
Run: CREATE CATALOG IF NOT EXISTS ${DA.my_new_catalog}, it returns the error
Seems It still use workspace local hive_metastore
Noticed in UI - Update workspace, there is a toggle to enable Unit Catalog, and a drop down to choose the metastore, but if I toggle it on and select the metastore from drop down, and save. It disappears if I click "Update workspace" to open the config again.
However, assign a metastore to workspace has already been done from account -> data -> metastores -> Assign to workspace.
Appreciate for any hints. Thanks
- Labels:
-
Unity Catalog