<?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 Jobs with multi-tasking are failing to retry; how to fix this issue? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13322#M8023</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is question on our platform with `Databricks Runtime 11.3 LTS`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running a Job with multiple tasks in // using a shared cluster.&lt;/P&gt;&lt;P&gt;Each task runs a dedicated scala class within a JAR library attached as a dependency.&lt;/P&gt;&lt;P&gt;One of the task fails (code related error) and a retry is performed as expected. Unfortunately, this retry continuously fails with the following error message: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;command--1:1: error: not found: value fakepackage
fakepackage.fakenamespace.fakeclass.main(Array("environmentCode=VALUE","silverPath=s3a://silverpath","goldPath=s3a://goldpath/")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It does not fail when the job starts; issue only happens if there is a retry.&lt;/P&gt;&lt;P&gt;Previously, I was running these tasks independently (1 task per job) with task-level cluster and the retry was working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue in databricks with attaching the JAR library to the shared cluster? (not an issue before because I had a brand new cluster for a retry?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the JSON to create the job with the Jobs API 2.1.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 14:54:50 GMT</pubDate>
    <dc:creator>Ludo</dc:creator>
    <dc:date>2023-01-06T14:54:50Z</dc:date>
    <item>
      <title>Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13322#M8023</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is question on our platform with `Databricks Runtime 11.3 LTS`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running a Job with multiple tasks in // using a shared cluster.&lt;/P&gt;&lt;P&gt;Each task runs a dedicated scala class within a JAR library attached as a dependency.&lt;/P&gt;&lt;P&gt;One of the task fails (code related error) and a retry is performed as expected. Unfortunately, this retry continuously fails with the following error message: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;command--1:1: error: not found: value fakepackage
fakepackage.fakenamespace.fakeclass.main(Array("environmentCode=VALUE","silverPath=s3a://silverpath","goldPath=s3a://goldpath/")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It does not fail when the job starts; issue only happens if there is a retry.&lt;/P&gt;&lt;P&gt;Previously, I was running these tasks independently (1 task per job) with task-level cluster and the retry was working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue in databricks with attaching the JAR library to the shared cluster? (not an issue before because I had a brand new cluster for a retry?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the JSON to create the job with the Jobs API 2.1.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:54:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13322#M8023</guid>
      <dc:creator>Ludo</dc:creator>
      <dc:date>2023-01-06T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13323#M8024</link>
      <description>&lt;P&gt;try to use 10.3/4LTS version and let us know if it is still failing&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 16:12:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13323#M8024</guid>
      <dc:creator>Aviral-Bhardwaj</dc:creator>
      <dc:date>2023-01-07T16:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13324#M8025</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately we can't downgrade to 10.3/4LTS (Spark 3.2.1) as we are using some features from latest Spark 3.3.0.&lt;/P&gt;&lt;P&gt;We upgraded to 12.0 and we are currently monitoring; we will let you know if it gets better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Side note: We observed that the 1st job crash is due to an OOM on the Driver. Looks like the retry restarts a Driver and does not manage to attach the library.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 08:03:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13324#M8025</guid>
      <dc:creator>Ludo</dc:creator>
      <dc:date>2023-01-12T08:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13325#M8026</link>
      <description>&lt;P&gt;@Aviral Bhardwaj​&amp;nbsp;Quick update:&lt;B&gt; Issue still happens on 12.0 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are the Driver OOM crash logs from the Standard Error output.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 16:17:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13325#M8026</guid>
      <dc:creator>Ludo</dc:creator>
      <dc:date>2023-01-12T16:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13326#M8027</link>
      <description>&lt;P&gt;never seen this type of error&lt;/P&gt;&lt;P&gt;can you check with help@databricks.com they will help you&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 01:14:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13326#M8027</guid>
      <dc:creator>Aviral-Bhardwaj</dc:creator>
      <dc:date>2023-01-13T01:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13327#M8028</link>
      <description>&lt;P&gt;Retry failed because the jar library is unresponsive. You need to kill it on the cluster or restart the cluster after it happens.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 09:21:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13327#M8028</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-13T09:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13328#M8029</link>
      <description>&lt;P&gt;Thank you folks; this is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've got an updated error message this morning; still on a task retry with a shared cluster. (error below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You meant that a jar library could be unresponsive (this is not a process though?) and we would have to manually kill it? I'm expecting the automated retry to handle it... Looks like a databricks bug @Hubert Dudek​&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your explanation confirms what we observed as it's working properly without shared-cluster (1 dedicated cluster per task). With task-level cluster, it is fully restarted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, we would like to keep usage of shared-clusters for multiple tasks. (having 1 cluster per task does not make sense in our use case)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Run result unavailable: job failed with error message
 Library installation failed for library due to user error for jar: "dbfs:/shared/jarFileName.jar"
. Error messages:
Library installation failed after PENDING for 10 minutes since cluster entered RUNNING state. Error Code: SPARK_CONTEXT_MISMATCH_FAILURE. Cannot get library installation state for cluster [0113-010003-id]. This can occur if the driver was recently restarted or terminated&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 09:32:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/13328#M8029</guid>
      <dc:creator>Ludo</dc:creator>
      <dc:date>2023-01-13T09:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs with multi-tasking are failing to retry; how to fix this issue?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/44352#M27640</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This actually should not be marked as solved. We are having the same problem, whenever a Shared Job Cluster crashes for some reason (generally OoM), all tasks will start failing until eternity, with the error message as described above. This is actually a pretty grave bug in the Multi-Task Databricks Workflows, which makes them basically unusable. If you have to do a whole bunch of manual intervention steps when something goes wrong, what is the point?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 12:54:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-with-multi-tasking-are-failing-to-retry-how-to-fix-this/m-p/44352#M27640</guid>
      <dc:creator>YoshiCoppens61</dc:creator>
      <dc:date>2023-09-11T12:54:22Z</dc:date>
    </item>
  </channel>
</rss>

