<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic error loading databricks.proto in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/error-loading-databricks-proto/m-p/45303#M6656</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/_extras/notebooks/source/mlflow/mlflow-model-registry-webhooks-python-client-example.html" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/_extras/notebooks/source/mlflow/mlflow-model-registry-webhooks-python-client-example.html&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;%pip install databricks-registry-webhooks&lt;BR /&gt;dbutils.library.restartPython() # not needed for DBR &amp;lt; 13.3&lt;BR /&gt;from databricks_registry_webhooks import RegistryWebhooksClient, JobSpec, HttpUrlSp&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;The last line throws the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;TypeError&lt;/SPAN&gt;&lt;SPAN&gt;: 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.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Finally, I successfully tested the same issue on DBR 10.4 ML, 11.3 ML and 12.2 ML with no errors&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 07:26:13 GMT</pubDate>
    <dc:creator>FranPérez</dc:creator>
    <dc:date>2023-09-19T07:26:13Z</dc:date>
    <item>
      <title>error loading databricks.proto</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-loading-databricks-proto/m-p/45303#M6656</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/_extras/notebooks/source/mlflow/mlflow-model-registry-webhooks-python-client-example.html" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/_extras/notebooks/source/mlflow/mlflow-model-registry-webhooks-python-client-example.html&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;%pip install databricks-registry-webhooks&lt;BR /&gt;dbutils.library.restartPython() # not needed for DBR &amp;lt; 13.3&lt;BR /&gt;from databricks_registry_webhooks import RegistryWebhooksClient, JobSpec, HttpUrlSp&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;The last line throws the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;TypeError&lt;/SPAN&gt;&lt;SPAN&gt;: 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.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Finally, I successfully tested the same issue on DBR 10.4 ML, 11.3 ML and 12.2 ML with no errors&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 07:26:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-loading-databricks-proto/m-p/45303#M6656</guid>
      <dc:creator>FranPérez</dc:creator>
      <dc:date>2023-09-19T07:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: error loading databricks.proto</title>
      <link>https://community.databricks.com/t5/get-started-discussions/error-loading-databricks-proto/m-p/62514#M6658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/66120"&gt;@FranPérez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The issue is that databricks-registry-webhooks has a databricks.proto file that collides with mlflow. Here is the fix:&lt;/P&gt;
&lt;PRE class="lang-py s-code-block"&gt;&lt;CODE class="hljs language-python"&gt;%pip install databricks-registry-webhooks mlflow==&lt;SPAN class="hljs-number"&gt;2.2&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.2&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also posted the fix on StackOverflow:&amp;nbsp;&lt;A href="https://stackoverflow.com/a/78097127/1290485" target="_blank"&gt;https://stackoverflow.com/a/78097127/1290485&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 16:38:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/error-loading-databricks-proto/m-p/62514#M6658</guid>
      <dc:creator>StephanieAlba</dc:creator>
      <dc:date>2024-03-03T16:38:53Z</dc:date>
    </item>
  </channel>
</rss>

