<?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 I am running MLflow with a service principal and getting a &amp;quot;RestException: RESOURCE_DOES_NOT_EXIST: Node ID xxxxxxxxxxxx does not exist&amp;quot; error message. in Support FAQs</title>
    <link>https://community.databricks.com/t5/support-faqs/i-am-running-mlflow-with-a-service-principal-and-getting-a-quot/ta-p/55588</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;SPAN&gt;If you view a stack trace and it looks similar to the following:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;RestException Traceback (most recent call last)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File &amp;lt;command-XXXXXXXXXXXX&amp;gt;:7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 mlflow.sklearn.autolog()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;File /databricks/python/lib/python3.9/site-packages/mlflow/tracking/fluent.py:349, in start_run(run_id, experiment_id, run_name, nested, tags, description)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;345 user_specified_tags[MLFLOW_RUN_NAME] = run_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;347 resolved_tags = context_registry.resolve_tags(user_specified_tags)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; 349 active_run_obj = client.create_run(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;350 experiment_id=exp_id_for_run, tags=resolved_tags, run_name=run_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;351 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;353 _active_run_stack.append(ActiveRun(active_run_obj))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;354 return _active_run_stack[-1]&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;You should validate that the service principal has the necessary edit permissions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By granting edit permissions to the service principal, the job using the &lt;FONT face="courier new,courier"&gt;client.create_run&lt;/FONT&gt; method (the client is an instance of &lt;FONT face="courier new,courier"&gt;MlflowClient&lt;/FONT&gt;) can run successfully.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This edit permission ensures the necessary resources, such as the node with the specified ID, are accessible and available for the MLflow operation.&lt;/SPAN&gt;&lt;/P&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>I am running MLflow with a service principal and getting a "RestException: RESOURCE_DOES_NOT_EXIST: Node ID xxxxxxxxxxxx does not exist" error message.</title>
      <link>https://community.databricks.com/t5/support-faqs/i-am-running-mlflow-with-a-service-principal-and-getting-a-quot/ta-p/55588</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;SPAN&gt;If you view a stack trace and it looks similar to the following:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;RestException Traceback (most recent call last)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File &amp;lt;command-XXXXXXXXXXXX&amp;gt;:7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 mlflow.sklearn.autolog()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;File /databricks/python/lib/python3.9/site-packages/mlflow/tracking/fluent.py:349, in start_run(run_id, experiment_id, run_name, nested, tags, description)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;345 user_specified_tags[MLFLOW_RUN_NAME] = run_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;347 resolved_tags = context_registry.resolve_tags(user_specified_tags)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; 349 active_run_obj = client.create_run(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;350 experiment_id=exp_id_for_run, tags=resolved_tags, run_name=run_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;351 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;353 _active_run_stack.append(ActiveRun(active_run_obj))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;354 return _active_run_stack[-1]&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;You should validate that the service principal has the necessary edit permissions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By granting edit permissions to the service principal, the job using the &lt;FONT face="courier new,courier"&gt;client.create_run&lt;/FONT&gt; method (the client is an instance of &lt;FONT face="courier new,courier"&gt;MlflowClient&lt;/FONT&gt;) can run successfully.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This edit permission ensures the necessary resources, such as the node with the specified ID, are accessible and available for the MLflow operation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jan 2024 01:00:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/support-faqs/i-am-running-mlflow-with-a-service-principal-and-getting-a-quot/ta-p/55588</guid>
      <dc:creator>Adam_Pavlacka</dc:creator>
      <dc:date>2024-01-11T01:00:00Z</dc:date>
    </item>
  </channel>
</rss>

