<?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: Run MLflow Projects on Azure Databricks in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33967#M1805</link>
    <description>&lt;P&gt;you are welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 16:27:08 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2021-12-01T16:27:08Z</dc:date>
    <item>
      <title>Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33962#M1800</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to follow this simple document to be able to run MLFlow within Databricks: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/databricks/applications/mlflow/projects" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/applications/mlflow/projects&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to run it from: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;A Databricks notebook within Azure Databricks&lt;/LI&gt;&lt;LI&gt;By use of the mlflow-cli  (remote)&lt;/LI&gt;&lt;LI&gt;By use of databricks-connect&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested that the 3 methods are properly set-up. I get the same error with all methods: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mlflow.exceptions.RestException: BAD_REQUEST: Unable to connect to the linked AzureML workspace. Check that the workspace exists.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The Databricks workspace is linked to an AzureML workspace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By following this other document: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-mlflow-azure-databricks" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-mlflow-azure-databricks&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually able to create and run MLFlow experiments from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;A Databricks notebook&lt;/LI&gt;&lt;LI&gt;databricks-connect&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue that I have is that: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The experiments are &lt;B&gt;only&lt;/B&gt; created in AzureML&lt;/LI&gt;&lt;LI&gt;I can only run from within a script/notebook&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I follow this document: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/databricks/applications/mlflow/access-hosted-tracking-server" target="test_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/applications/mlflow/access-hosted-tracking-server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to use the remote mlflow-cli and I can for example, create an experiment in &lt;B&gt;databricks&lt;/B&gt; only (the experiment doesn't live in AzureML), by use of: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mlflow experiments create -n /Users/&amp;lt;your-username&amp;gt;/my-experiment&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But again, when trying to do something like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mlflow run &lt;A href="https://github.com/mlflow/mlflow#examples/sklearn_elasticnet_wine" target="test_blank"&gt;https://github.com/mlflow/mlflow#examples/sklearn_elasticnet_wine&lt;/A&gt; -b databricks --backend-config cluster-spec.json --experiment-id &amp;lt;experiment-id&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get the error I previously mentioned: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;mlflow.exceptions.RestException: BAD_REQUEST: Unable to connect to the linked AzureML workspace. Check that the workspace exists.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have set &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;export MLFLOW_TRACKING_URI=databricks&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And everything else as noted in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a configuration I am missing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:39:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33962#M1800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-01T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33963#M1801</link>
      <description>&lt;P&gt;Maybe this answer will help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/question/0D53f00001UOu7rCAD/mlflow-resourcealreadyexists" target="test_blank"&gt;https://community.databricks.com/s/question/0D53f00001UOu7rCAD/mlflow-resourcealreadyexists&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as @Prabakar Ammeappin​&amp;nbsp;wrote " it’s not recommended to “link” the Databricks and AML workspaces, as we are seeing more problems"&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 15:12:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33963#M1801</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-12-01T15:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33964#M1802</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thanks a lot for the help! This linking within WS was already set by somebody working in the team. I will investigate the reason why and try to unlink them. I will report back and say if this suits the trick as the error is not​ so well documented and it might help others.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 15:51:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33964#M1802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-01T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33965#M1803</link>
      <description>&lt;P&gt;Hi @Hubert Dudek​&amp;nbsp;Thanks for sharing the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:13:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33965#M1803</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-12-01T16:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33966#M1804</link>
      <description>&lt;P&gt;@Arturo Amador​&amp;nbsp;- That would be great! Once you share your solution, would you be happy to mark your answer as best so others can find it more easily?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:25:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33966#M1804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-01T16:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33967#M1805</link>
      <description>&lt;P&gt;you are welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:27:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33967#M1805</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2021-12-01T16:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Run MLflow Projects on Azure Databricks</title>
      <link>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33968#M1806</link>
      <description>&lt;P&gt;Hi! Thanks a lot for your help. I took contact with tech support via my Azure subscription. They confirmed that indeed, connecting the Databricks and AzureML workspaces introduces errors. They provided us with a ARM template for removing the connection. After the connection was successfully removed, there were no more problems with tracking experiments with MLFlow directly in the Databricks WS. &lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 10:11:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-mlflow-projects-on-azure-databricks/m-p/33968#M1806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-15T10:11:20Z</dc:date>
    </item>
  </channel>
</rss>

