Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity catalog not enabled on cluster in Databricks

We are trying out Unity catalog in Azure Databricks. We connected a pre-existing workspace to the new metastore.

I created a new catalog. When I run a notebook and try to write to table "myfirstcatalog.bronze.mytable" I get the error

[UC_NOT_ENABLED] Unity Catalog is not enabled on this cluster.

I have run this both on an pre-existing cluster as well as a newly cluster.

like image 246
Mathias Rönnlund Avatar asked Nov 16 '25 06:11

Mathias Rönnlund


1 Answers

I found the problem. I had used access mode None, when it needs Single user or Shared.

To create a cluster that can access Unity Catalog, the workspace you are creating the cluster in must be attached to a Unity Catalog metastore and must use a Unity-Catalog-capable access mode (shared or single user).

https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/compute

like image 134
Mathias Rönnlund Avatar answered Nov 18 '25 19:11

Mathias Rönnlund