<?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 How to Exclude or Overwrite Specific JARs in Databricks Jars in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104524#M41781</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Spark Version in Databricks 15.5 LTS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: The runtime includes&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Apache Spark 3.5.x&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, which defines the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SparkListenerApplicationEnd&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;constructor as:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public SparkListenerApplicationEnd(long time)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This constructor takes a single&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;long&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Conflicting Spark Library in Databricks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: The error arises due to a conflicting library:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;----ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar&lt;/SPAN&gt;&lt;SPAN&gt;. This library includes a different version of the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SparkListenerApplicationEnd&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;class, which defines the constructor as:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public SparkListenerApplicationEnd(long time, scala.Option&amp;lt;Object&amp;gt; exitCode)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This is method is present&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Spark 4.0.0-preview2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;version.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Impact&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: At runtime, the JVM attempts to use the single-parameter constructor (&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;init&amp;gt;(J)V&lt;/SPAN&gt;&lt;SPAN&gt;) but fails because the conflicting library expects the two-parameter version. This mismatch leads to the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;NoSuchMethodError&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I exclude or overwrite a specific JAR file, &lt;STRONG&gt;ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar&lt;/STRONG&gt;, from Databricks compute dependencies when launching a Databricks compute cluster.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2025 14:36:02 GMT</pubDate>
    <dc:creator>sahil_s_jain</dc:creator>
    <dc:date>2025-01-07T14:36:02Z</dc:date>
    <item>
      <title>How to Exclude or Overwrite Specific JARs in Databricks Jars</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104524#M41781</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Spark Version in Databricks 15.5 LTS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: The runtime includes&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Apache Spark 3.5.x&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, which defines the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SparkListenerApplicationEnd&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;constructor as:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public SparkListenerApplicationEnd(long time)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This constructor takes a single&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;long&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Conflicting Spark Library in Databricks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: The error arises due to a conflicting library:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;----ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar&lt;/SPAN&gt;&lt;SPAN&gt;. This library includes a different version of the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SparkListenerApplicationEnd&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;class, which defines the constructor as:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public SparkListenerApplicationEnd(long time, scala.Option&amp;lt;Object&amp;gt; exitCode)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;This is method is present&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Spark 4.0.0-preview2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;version.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Impact&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: At runtime, the JVM attempts to use the single-parameter constructor (&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;init&amp;gt;(J)V&lt;/SPAN&gt;&lt;SPAN&gt;) but fails because the conflicting library expects the two-parameter version. This mismatch leads to the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;NoSuchMethodError&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I exclude or overwrite a specific JAR file, &lt;STRONG&gt;ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar&lt;/STRONG&gt;, from Databricks compute dependencies when launching a Databricks compute cluster.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 14:36:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104524#M41781</guid>
      <dc:creator>sahil_s_jain</dc:creator>
      <dc:date>2025-01-07T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude or Overwrite Specific JARs in Databricks Jars</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104526#M41782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/136821"&gt;@sahil_s_jain&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;How are you installing the jar file in the cluster?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 14:41:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104526#M41782</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-07T14:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude or Overwrite Specific JARs in Databricks Jars</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104540#M41788</link>
      <description>&lt;P&gt;I am creating a uber jar of my application with spark 3.5.0 spark depedencies and using jar submit on the cluster for execution.&lt;BR /&gt;As the spark libraries from the above jar "----ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar" are getting loaded.&lt;/P&gt;&lt;P&gt;the constructor SparkListenerApplicationEnd(long time, scala.Option&amp;lt;Object&amp;gt; exitCode) is creating a conflict.&lt;/P&gt;&lt;P&gt;In my code i have used a single argument constructor which is correct as per spark 3.5.0 but the loaded class from the above Databricks jar is expecting a constructor of 2 arguments which is not correct as per spark version 3.5.0&lt;/P&gt;&lt;P&gt;Constructor in spark 3.5.0&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public SparkListenerApplicationEnd(long time)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Constructor in "----ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar"&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public SparkListenerApplicationEnd(long time, scala.Option&amp;lt;Object&amp;gt; exitCode)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Need you inputs on this conflict, as the class "SparkListenerApplicationEnd" packed in "----ws_3_5--core--core-hive-2.3__hadoop-3.2_2.12_deploy.jar" is not same as the spark 3.5.0.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 15:13:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/104540#M41788</guid>
      <dc:creator>sahil_s_jain</dc:creator>
      <dc:date>2025-01-07T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude or Overwrite Specific JARs in Databricks Jars</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/122245#M46712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A class="" href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294" target="_self"&gt;&lt;SPAN class=""&gt;Alberto_Umana&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Do we have fix of this issue in 16.4 LTS?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 12:24:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-exclude-or-overwrite-specific-jars-in-databricks-jars/m-p/122245#M46712</guid>
      <dc:creator>baljeetyadav_23</dc:creator>
      <dc:date>2025-06-19T12:24:41Z</dc:date>
    </item>
  </channel>
</rss>

