<?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 Error running 80 task at same time in Job, how limit this? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/error-running-80-task-at-same-time-in-job-how-limit-this/m-p/61738#M923</link>
    <description>&lt;P&gt;Hi! I have a Job running to process multiple streaming tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the beginning, it was working fine, but now I have 80 tables running in this job, the problem is that all the runs are trying to run at the same time throwing an error. Is there a way to limit the number of tasks that a job can execute per each run?&lt;/P&gt;&lt;P&gt;I have configured the Job cluster with autoscaling from 2 to 4. I thought it worked as a limitation to run per each of the 4 tasks, but I was wrong.&lt;/P&gt;&lt;P&gt;The error I am getting is&amp;nbsp;"&lt;SPAN&gt;Failure starting repl. Try detaching and re-attaching the notebook.&lt;/SPAN&gt;", as I could find it is because the cluster is overloaded, but I can not limit the number of runs in parallel.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 15:46:15 GMT</pubDate>
    <dc:creator>Maxi1693</dc:creator>
    <dc:date>2024-02-23T15:46:15Z</dc:date>
    <item>
      <title>Error running 80 task at same time in Job, how limit this?</title>
      <link>https://community.databricks.com/t5/administration-architecture/error-running-80-task-at-same-time-in-job-how-limit-this/m-p/61738#M923</link>
      <description>&lt;P&gt;Hi! I have a Job running to process multiple streaming tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the beginning, it was working fine, but now I have 80 tables running in this job, the problem is that all the runs are trying to run at the same time throwing an error. Is there a way to limit the number of tasks that a job can execute per each run?&lt;/P&gt;&lt;P&gt;I have configured the Job cluster with autoscaling from 2 to 4. I thought it worked as a limitation to run per each of the 4 tasks, but I was wrong.&lt;/P&gt;&lt;P&gt;The error I am getting is&amp;nbsp;"&lt;SPAN&gt;Failure starting repl. Try detaching and re-attaching the notebook.&lt;/SPAN&gt;", as I could find it is because the cluster is overloaded, but I can not limit the number of runs in parallel.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 15:46:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/error-running-80-task-at-same-time-in-job-how-limit-this/m-p/61738#M923</guid>
      <dc:creator>Maxi1693</dc:creator>
      <dc:date>2024-02-23T15:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error running 80 task at same time in Job, how limit this?</title>
      <link>https://community.databricks.com/t5/administration-architecture/error-running-80-task-at-same-time-in-job-how-limit-this/m-p/88248#M1717</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;wrote:&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;OL&gt;&lt;LI&gt;&lt;UL&gt;&lt;LI&gt;Additionally, configure the &lt;STRONG&gt;maximum number of concurrent tasks&lt;/STRONG&gt; per worker node. You can set this in the cluster configuration under &lt;STRONG&gt;“Max Concurrency”&lt;/STRONG&gt; or &lt;STRONG&gt;“Max Tasks”&lt;/STRONG&gt;. Adjust this value based on your workload and available resources.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi. Can you please describe more detailed where we can find this configuration of &lt;STRONG&gt;maximum number of concurrent tasks&lt;/STRONG&gt;? I couldn't find anything like this. We use Databricks Asset Bundles to define our job cluster.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 09:19:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/error-running-80-task-at-same-time-in-job-how-limit-this/m-p/88248#M1717</guid>
      <dc:creator>thauck</dc:creator>
      <dc:date>2024-09-04T09:19:00Z</dc:date>
    </item>
  </channel>
</rss>

