<?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 enable dynamic resource allocation on job cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/enable-dynamic-resource-allocation-on-job-cluster/m-p/113044#M44406</link>
    <description>&lt;P&gt;I have a databricks job having two task those will run each alone or both parallel (will be controlled by if conditional task). When it runs parallel, one task is running for long time, but the same task finish quick when it runs alone. particularly the same one task is running for long when runs both in parallel, futher analysis identified that the specific task (databricks task) is assigned with FIFO pool in spark ui, other one is FAIR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the cause of long running that one same task. Can we use Dynamic resource allocation in job cluster for this scenario or anything to do with schedular pool.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 12:07:47 GMT</pubDate>
    <dc:creator>Abser786</dc:creator>
    <dc:date>2025-03-19T12:07:47Z</dc:date>
    <item>
      <title>enable dynamic resource allocation on job cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/enable-dynamic-resource-allocation-on-job-cluster/m-p/113044#M44406</link>
      <description>&lt;P&gt;I have a databricks job having two task those will run each alone or both parallel (will be controlled by if conditional task). When it runs parallel, one task is running for long time, but the same task finish quick when it runs alone. particularly the same one task is running for long when runs both in parallel, futher analysis identified that the specific task (databricks task) is assigned with FIFO pool in spark ui, other one is FAIR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the cause of long running that one same task. Can we use Dynamic resource allocation in job cluster for this scenario or anything to do with schedular pool.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:07:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/enable-dynamic-resource-allocation-on-job-cluster/m-p/113044#M44406</guid>
      <dc:creator>Abser786</dc:creator>
      <dc:date>2025-03-19T12:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: enable dynamic resource allocation on job cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/enable-dynamic-resource-allocation-on-job-cluster/m-p/113309#M44500</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79185"&gt;@Abser786&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There is a difference between Dynamic Resource Allocation and the Scheduler policy&lt;/P&gt;
&lt;P&gt;Dynamic Resource Allocation means getting more compute as needed if current compute is totally consumed, this can be achieved by autoscaling feature/config in job cluster resources (details &lt;A href="https://docs.databricks.com/aws/en/compute/configure" target="_self"&gt;here&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;On the other hand scheduler policy which seems to be different across tasks in the case you mentioned can be controlled and aligned, I think a best approach if autoscaling is not leveraged in this case a FAIR scheduler can be used in the two tasks, this can be done by setting&amp;nbsp;&lt;CODE&gt;spark.scheduler.mode&lt;/CODE&gt; to &lt;CODE&gt;FAIR&lt;/CODE&gt; in the job or cluster configuration to ensure the tasks use the FAIR scheduling mode rather than the default FIFO&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 14:38:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/enable-dynamic-resource-allocation-on-job-cluster/m-p/113309#M44500</guid>
      <dc:creator>User16502773013</dc:creator>
      <dc:date>2025-03-21T14:38:55Z</dc:date>
    </item>
  </channel>
</rss>

