<?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 Re: workflow not pickingup correct host value (While working with MLflow model registry URI) in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/workflow-not-pickingup-correct-host-value-while-working-with/m-p/119436#M3368</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/163000"&gt;@Dharma25&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;It looks like this post duplicates one you shared earlier. A response has already been provided in the &lt;A href="https://community.databricks.com/t5/machine-learning/workflow-not-pickingup-correct-host-value-while-working-with/td-p/117389" target="_blank"&gt;Original thread&lt;/A&gt;. I recommend continuing the discussion there to keep the conversation focused and organized.&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2025 09:58:16 GMT</pubDate>
    <dc:creator>Advika</dc:creator>
    <dc:date>2025-05-16T09:58:16Z</dc:date>
    <item>
      <title>workflow not pickingup correct host value (While working with MLflow model registry URI)</title>
      <link>https://community.databricks.com/t5/administration-architecture/workflow-not-pickingup-correct-host-value-while-working-with/m-p/117988#M3325</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Exception&lt;/STRONG&gt;&lt;/U&gt;: mlflow.exceptions.MlflowException: An API request to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://canada.cloud.databricks.com/api/2.0/mlflow/model-versions/list-artifacts" target="_blank" rel="noopener nofollow noreferrer"&gt;https://canada.cloud.databricks.com/api/2.0/mlflow/model-versions/list-artifacts&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;failed due to a timeout. The error message was: HTTPSConnectionPool(host='canada.cloud.databricks.com', port=443): Max retries exceeded with url: /api/2.0/mlflow/model-versions/list-artifacts.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Expected&lt;/STRONG&gt;&lt;/U&gt;: The request should be directed to the current workspace URI instead of cloud.databricks.com.&lt;/P&gt;&lt;P&gt;I am encountering a strange issue while executing my code within a workflow. I am attempting to load an MLflow model registered in the Unity Catalog using mlflow.pyfunc.spark_udf(). I have ensured that the model URI and other parameters are correct. This code is part of a Python class.&lt;/P&gt;&lt;P&gt;Additionally, I am setting the registry URI using mlflow.set_registry_uri("databricks-uc"). Below are the environment variables I am configuring at the compute level:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATABRICKS_HOST&lt;/STRONG&gt;="&amp;lt;workspace_url&amp;gt;"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DATABRICKS_TOKEN&lt;/STRONG&gt;="&amp;lt;PAT&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Spark configuration:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;spark.executorEnv.DATABRICKS_HOST&lt;/STRONG&gt;="&amp;lt;workspace_url&amp;gt;"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;spark.executorEnv.DATABRICKS_TOKEN&lt;/STRONG&gt;="&amp;lt;PAT&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Databricks runtime version&lt;/STRONG&gt;: 14.3&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 19:24:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/workflow-not-pickingup-correct-host-value-while-working-with/m-p/117988#M3325</guid>
      <dc:creator>Dharma25</dc:creator>
      <dc:date>2025-05-06T19:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: workflow not pickingup correct host value (While working with MLflow model registry URI)</title>
      <link>https://community.databricks.com/t5/administration-architecture/workflow-not-pickingup-correct-host-value-while-working-with/m-p/119436#M3368</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/163000"&gt;@Dharma25&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;It looks like this post duplicates one you shared earlier. A response has already been provided in the &lt;A href="https://community.databricks.com/t5/machine-learning/workflow-not-pickingup-correct-host-value-while-working-with/td-p/117389" target="_blank"&gt;Original thread&lt;/A&gt;. I recommend continuing the discussion there to keep the conversation focused and organized.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 09:58:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/workflow-not-pickingup-correct-host-value-while-working-with/m-p/119436#M3368</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-05-16T09:58:16Z</dc:date>
    </item>
  </channel>
</rss>

