cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

error loading databricks.proto

FranPรฉrez
New Contributor III

Hi,

I'm using a DBR 13.3 LTS ML, and I want to set up a webhook trigger. I'm following the example notebook at https://learn.microsoft.com/en-us/azure/databricks/_extras/notebooks/source/mlflow/mlflow-model-regi...

This is the code I'm using:

 

%pip install databricks-registry-webhooks
dbutils.library.restartPython() # not needed for DBR < 13.3
from databricks_registry_webhooks import RegistryWebhooksClient, JobSpec, HttpUrlSp

The last line throws the following error:

TypeError: Couldn't build proto file into descriptor pool! Invalid proto descriptor for file "databricks.proto": databricks.proto: A file with this name is already in the pool.

Finally, I successfully tested the same issue on DBR 10.4 ML, 11.3 ML and 12.2 ML with no errors

1 ACCEPTED SOLUTION

Accepted Solutions

StephanieAlba
Databricks Employee
Databricks Employee

Hi @FranPรฉrez ,

The issue is that databricks-registry-webhooks has a databricks.proto file that collides with mlflow. Here is the fix:

%pip install databricks-registry-webhooks mlflow==2.2.2

I also posted the fix on StackOverflow: https://stackoverflow.com/a/78097127/1290485

 

View solution in original post

1 REPLY 1

StephanieAlba
Databricks Employee
Databricks Employee

Hi @FranPรฉrez ,

The issue is that databricks-registry-webhooks has a databricks.proto file that collides with mlflow. Here is the fix:

%pip install databricks-registry-webhooks mlflow==2.2.2

I also posted the fix on StackOverflow: https://stackoverflow.com/a/78097127/1290485

 

Connect with Databricks Users in Your Area

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