cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

AssertionError Failed to create the catalog

Lcsp
New Contributor

getting this error when trying to setup the get-started-with-databricks-for-machine-learning  LAB . Unity catalog is enabled. 

 

Validating the locally installed datasets: | listing local files...(0 seconds) | validation completed...(0 seconds total) Creating & using the catalog "........._da"
AssertionError: Failed to create the catalog "...._da". Please see the "Troubleshooting | Cannot Create Catalog" section of the "Version Info" notebook for more information.
4 REPLIES 4

PL_db
New Contributor III
New Contributor III

 It looks like you don't have the CREATE CATALOG privilege on the metastore you're trying to create the catalog in:

Privilege types by securable object in Unity Catalog 

SalP
New Contributor II

Did you ever get this solved? I'm seeing the same issue.

SalP
New Contributor II

In particular: the error message refers to a troubleshooting notebook, which in turn refers out to a document https://files.training.databricks.com/static/troubleshooting.html#cannot-create-catalog, which at this moment just says "Coming Soon".  ????

SalP
New Contributor II

EDIT: I found the issue in my Databricks metastore was that it did not have a default storage location set. The academy setup scripts don't explicitly set MANAGED LOCATION and therefore without a default location it fails.

I tried to establish a default storage location on my existing metastore but it didn't work for some reason - silently failed, not sure where to look for logs or error messages. But, I confirmed this was the issue because I set up a new metastore (in a different region) and a new workspace, and at metastore creation time I set a default S3 bucket, and then - voila - CREATE CATALOG worked fine without specifying managed location.

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!