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:
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
04-03-2023 04:12 AM
Hi @Helen Morgen ,
Have you enabled the unity catalog on your workspace??
08-23-2024 11:51 AM
Hi Ajay,
I'm currently having an azure subscription and I use Azure Databricks, However for some labs in Databricks Academy I'm unable to run notebooks 'Classroom setup' scripts, as It returns error 'UC not enabled in Workspace'. Could you walk me through creating UC and enabling. Appreciate your response.
Thanks,
Meghana
04-03-2023 03:07 PM
Hi ajaypanday678,
I enabled it in the console, by
The wield is when I click "Update Workspace" again, it's reset to disabled. Is this a console bug?
04-03-2023 03:08 PM
And I the error message: Unity Catalog is not enabled on this cluster
What does the "cluster" it refer to? the workspace cluster? or the compute cluster of this workspace?
04-03-2023 03:22 PM
"I followed the steps outlined in the documentation (https://docs.databricks.com/data-governance/unity-catalog/enable-workspaces.html#enable-your-workspa...) to assign the metastore to my workspace.
I verified that the workspace appears in the Workspaces tab of the metastore, and that the metastore appears in the Configuration tab of the workspace. However, as mentioned in my previous post, the "Enable Unity Catalog" toggle in the "Update Workspace" section always resets to "not enabled" regardless of the verification steps I completed."
08-23-2024 11:47 AM
Hi @h_aloha ,
I have an Azure subscription and I have a Databricks resource created. However, I need help to create a Unity Catalog. I cannot enable as it is not created, and I get errors while running DB notebooks with suggested creating clusters on DB Academy. Your help is appreciated. Thanks !
04-03-2023 10:11 PM
Hi @Helen Morgen
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
04-04-2023 01:07 AM
Hi Vidula,
Thanks for looking into it.
Unfortunately, it's not resolved. I checked every place that could have been missed, and everything looks okay.
I would appreciate any hints you can provide.
Thanks
h_aloha
04-04-2023 01:26 PM
Hi @Helen Morgen,
Is it possible that you have enabled unity catalog after creating the cluster? You can try to create a new cluster as single user and runtime 12.x for example.
Regards,
04-04-2023 01:25 PM
Hi @Helen Morgen,
Is it possible that you have enabled unity catalog after creating the cluster? You can try to create a new cluster as single user and runtime 12.x for example.
Regards,
05-10-2023 11:11 AM
I had faced the same problem
I recreated the cluster (after enabling Unity Catalog) and it is working now
08-23-2024 11:53 AM
Hi Sanjay,
I'm currently having an azure subscription and I use Azure Databricks, However for some labs in Databricks Academy I'm unable to run notebooks 'Classroom setup' scripts, as It returns error 'UC not enabled in Workspace'. Could you walk me through creating UC and enabling. Appreciate your response.
Thanks,
Meghana
3 weeks ago
Hi @Meghana_Vasavad - I followed these steps below to solve the similar issue I faced today.
Evidently, your workspace is not UC enabled. Please find the MS Learn link below to follow the step-by-step instructions to enable UC via account console.
https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/get-started#auto-en...
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