<?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: Distinguishing Runs Related to an All-Purpose Cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166443#M55584</link>
    <description>&lt;P&gt;I understand about using the API or CLI.&amp;nbsp; However it is very confusing that the list of "jobs" doesn't allow you to filter on a particular compute cluster.&lt;BR /&gt;&lt;BR /&gt;Nor does the "all-purpose cluster" allow you to see the list of jobs running on it.&amp;nbsp; In neither place does it give you a prominent visualization of this relationship, or allow us to review the list of "jobs" on the "cluster". These entities are both very important in the workspace, and it is unfortunate to rely on the CLI or API tools.&amp;nbsp; I can do that, but I'm surprised to have to create that visualization for myself.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2026 17:22:13 GMT</pubDate>
    <dc:creator>DB1To3</dc:creator>
    <dc:date>2026-08-25T17:22:13Z</dc:date>
    <item>
      <title>Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166350#M55566</link>
      <description>&lt;P&gt;Sorry for the basic question.&amp;nbsp; If I am using an all-purpose clusters in Databricks, it seems to combine all my runs together and execute them within the same Apache Spark application.&amp;nbsp; There is only one application shown in the Spark UI.&amp;nbsp; &amp;nbsp;Unrelated runs gets mixed up together in the same Spark UI.&amp;nbsp; I'm using an all-purpose cluster, not a job cluster.&lt;/P&gt;&lt;P&gt;Normally I send the job runs to this cluster by way of the REST API (jobs api).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can distinguish and review the list of runs that are currently associated with a given "all-purpose" cluster?&amp;nbsp; I'd like to be able to at least get a simple list of active runs on a given compute.&amp;nbsp; There are different runs using different compute, and I haven't found a way to filter the list of runs, based on the related compute cluster.&amp;nbsp; What am I missing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 19:55:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166350#M55566</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-08-24T19:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166374#M55574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/3844"&gt;@DB1To3&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;How are you doing today?&amp;nbsp;Good question. With an all-purpose cluster, multiple runs can share the same Spark application, so the Spark UI can definitely get confusing.&lt;/P&gt;&lt;P&gt;One option I would suggest is using the Jobs API to list active runs and then checking the cluster information associated with each run. You can match the cluster ID with your all-purpose cluster to get the runs using that compute.&lt;/P&gt;&lt;P&gt;For easier debugging and isolation, job clusters are usually a better option when possible, since each job run gets its own compute and Spark context. Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 03:15:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166374#M55574</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2026-08-25T03:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166376#M55575</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/3844"&gt;@DB1To3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;All purpose cluster combines workloads into a single application to optimize resource reuse unlike job clusters, which create isolated Spark applications per execution. Because there is no separation at the Spark application level on existing compute, all stages, tasks and metrics from unrelated runs will usually appear combined in the Spark UI.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;You can query the Jobs API list-runs endpoint with active_only=true and filter the results to identify and list the runs tied to a specific compute. You can retrieve all active runs and parse them in code by matching against the cluster_instance.cluster_id field as the API usually does not accept cluster_id as a direct filter parameter. Each run object contains cluster_instance.cluster_id, run_id, job_id, run_name&amp;nbsp;and state.life_cycle_state&amp;nbsp;giving full visibility into what is running on the cluster. You can do this query directly using REST API or Databricks CLI&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;You can migrate away from all-purpose clusters to dedicated job clusters for workloads where metric isolation and diagnostics is required. Defining the compute using new_cluster or job_cluster_key in the job definition ensures that each run gets an isolated Spark application with automated resource teardown upon completion and clean boundaries between runs that eliminate metric mixing entirely.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Aug 2026 04:03:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166376#M55575</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-08-25T04:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166379#M55577</link>
      <description>&lt;P&gt;If you must use an All-Purpose cluster (e.g., for cost savings or fast start times), here is how you manage the chaos:&lt;/P&gt;&lt;P&gt;The "Job Name" filter in the Jobs UI: Don't look at the Spark UI first. Go to the Workflows &amp;gt; Jobs tab. You can filter the "Runs" list by Cluster ID or Job Name. This is the single source of truth for what is running on which compute.&lt;/P&gt;&lt;P&gt;Use the run_name parameter: When submitting via the REST API, always pass a unique run_name. This will show up in the Jobs UI, allowing you to filter easily.&lt;/P&gt;&lt;P&gt;If you are inside the Spark UI and it’s a mess, look at the "Jobs" tab within the Spark UI. It will list the job descriptions. If you haven't labeled your code, it will be impossible to tell them apart. Use spark.sparkContext.setJobDescription("My_Job_Name") inside your code. This label will appear in the Spark UI, allowing you to distinguish the runs.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 05:12:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166379#M55577</guid>
      <dc:creator>Khasim_1</dc:creator>
      <dc:date>2026-08-25T05:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166443#M55584</link>
      <description>&lt;P&gt;I understand about using the API or CLI.&amp;nbsp; However it is very confusing that the list of "jobs" doesn't allow you to filter on a particular compute cluster.&lt;BR /&gt;&lt;BR /&gt;Nor does the "all-purpose cluster" allow you to see the list of jobs running on it.&amp;nbsp; In neither place does it give you a prominent visualization of this relationship, or allow us to review the list of "jobs" on the "cluster". These entities are both very important in the workspace, and it is unfortunate to rely on the CLI or API tools.&amp;nbsp; I can do that, but I'm surprised to have to create that visualization for myself.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 17:22:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166443#M55584</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-08-25T17:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166445#M55585</link>
      <description>&lt;P&gt;I will see if there is a way to pass the job name.&amp;nbsp; So far it hasn't shown up in my filter, but it might be an optional parameter that I'm not sending.&amp;nbsp; Thjere is nothing in the filter that corresponds to my runs.&lt;BR /&gt;&lt;BR /&gt;I think I'm sending the "run name", but possibly not the job name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB1To3_0-1787678662140.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/30266i834D42B0871AB238/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB1To3_0-1787678662140.png" alt="DB1To3_0-1787678662140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 17:26:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166445#M55585</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-08-25T17:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166448#M55587</link>
      <description>&lt;P&gt;We are hoping to use "spark connect" in the next phase of work and I've heard it isn't trivial to use that feature with "jobs clusters".&amp;nbsp; I will explore both approaches, but I'm guessing that databricks had invested more energy into making that&amp;nbsp; feature compatible with the "all-purpose clusters".&amp;nbsp; &amp;nbsp;So that is my starting point right now.&lt;BR /&gt;&lt;BR /&gt;Where jobs clusters are concerned, I don't have high expectations.&amp;nbsp; I had asked in the past and was told that "spark connect" was primarily designed to be used on all-purpose clusters.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 17:31:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166448#M55587</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-08-25T17:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguishing Runs Related to an All-Purpose Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166469#M55591</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/3844"&gt;@DB1To3&lt;/a&gt;&amp;nbsp;,&amp;nbsp;That makes sense. If Spark Connect is part of the next phase, starting with an all-purpose cluster sounds reasonable. In that case, I would focus on the Jobs API approach and map active runs back to the cluster ID. It would definitely be useful if Databricks provided a simpler cluster-level view of all active job runs directly.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 19:30:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/distinguishing-runs-related-to-an-all-purpose-cluster/m-p/166469#M55591</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2026-08-25T19:30:17Z</dc:date>
    </item>
  </channel>
</rss>

