Skip to content

[BUG]: create-catalogs-schemas command fails to parse metastore urls for multiple catalogs  #2879

@biswadeepupadhyay-db

Description

@biswadeepupadhyay-db

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi Team, I'm facing some challenges during the run of create-catalogs-schemas command on v0.39.0. Since my metastore on Azure doesn't have any adls path predefined, assumably I need to provide metastore url for all my catalogs during the catalog creation. My experiment consisted of 3 catalogs that this command was supposed to create. But interestingly when I give the url for one catalog, the command doesn't accept input for any other catalog under the same command run. So what I ended up doing was running the command three times and each time it accepted url as input for each of my 3 catalogs. Also during the last catalog creation, it tried to apply the grants/group permissions on my catalogs and schemas but that failed.

image image

Expected Behavior

the command should be able to parse metastore URL information for all catalogs in one go and create the catalogs accordingly.

Steps To Reproduce

your mapping file should have more than one catalog. Next try running the below command and provide metastore URLs as input for each catalog.

databricks labs ucx create-catalogs-schemas

Cloud

Azure

Operating System

macOS

Version

latest via Databricks CLI

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions