<?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>article When using mlflow.spark.log_model() I get a &amp;quot;failed to save spark model via mlflowdbfs&amp;quot; error. in Support FAQs</title>
    <link>https://community.databricks.com/t5/support-faqs/when-using-mlflow-spark-log-model-i-get-a-quot-failed-to-save/ta-p/56895</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;The trace indicates a &lt;FONT face="courier new,courier"&gt;statusCode=401&lt;/FONT&gt;&amp;nbsp;error caused by &lt;FONT face="courier new,courier"&gt;com.databricks.mlflowdbfs.MlflowHttpException&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need to disable &lt;FONT face="courier new,courier"&gt;mlflowdbfs&lt;/FONT&gt; in the environment variable before executing &lt;FONT face="courier new,courier"&gt;log_model()&lt;/FONT&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example code:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;os.environ["DISABLE_MLFLOWDBFS"] = "True"&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Jan 2024 01:00:00 GMT</pubDate>
    <dc:creator>Adam_Pavlacka</dc:creator>
    <dc:date>2024-01-11T01:00:00Z</dc:date>
    <item>
      <title>When using mlflow.spark.log_model() I get a "failed to save spark model via mlflowdbfs" error.</title>
      <link>https://community.databricks.com/t5/support-faqs/when-using-mlflow-spark-log-model-i-get-a-quot-failed-to-save/ta-p/56895</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;The trace indicates a &lt;FONT face="courier new,courier"&gt;statusCode=401&lt;/FONT&gt;&amp;nbsp;error caused by &lt;FONT face="courier new,courier"&gt;com.databricks.mlflowdbfs.MlflowHttpException&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need to disable &lt;FONT face="courier new,courier"&gt;mlflowdbfs&lt;/FONT&gt; in the environment variable before executing &lt;FONT face="courier new,courier"&gt;log_model()&lt;/FONT&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example code:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;os.environ["DISABLE_MLFLOWDBFS"] = "True"&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jan 2024 01:00:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/support-faqs/when-using-mlflow-spark-log-model-i-get-a-quot-failed-to-save/ta-p/56895</guid>
      <dc:creator>Adam_Pavlacka</dc:creator>
      <dc:date>2024-01-11T01:00:00Z</dc:date>
    </item>
  </channel>
</rss>

