<?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 Unable to run 2 different applications with the same class name on a cluster in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-run-2-different-applications-with-the-same-class-name/m-p/20783#M453</link>
    <description>&lt;P&gt;I have two jars with the same class name. It works fine on yarn. When trying to run these jars on the Databricks cluster, I run into issues. Why Databricks is having this limitation?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 17:11:12 GMT</pubDate>
    <dc:creator>brickster_2018</dc:creator>
    <dc:date>2025-03-20T17:11:12Z</dc:date>
    <item>
      <title>Unable to run 2 different applications with the same class name on a cluster</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-run-2-different-applications-with-the-same-class-name/m-p/20783#M453</link>
      <description>&lt;P&gt;I have two jars with the same class name. It works fine on yarn. When trying to run these jars on the Databricks cluster, I run into issues. Why Databricks is having this limitation?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 17:11:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-run-2-different-applications-with-the-same-class-name/m-p/20783#M453</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2025-03-20T17:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to run 2 different applications with the same class name on a cluster</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/unable-to-run-2-different-applications-with-the-same-class-name/m-p/20784#M454</link>
      <description>&lt;P&gt;When you run the jobs in Yarn, those are 2 different applications getting submitted on Yarn. Hence each application will have a separate Spark driver JVM's. &lt;/P&gt;&lt;P&gt;In Databricks, a cluster has one JVM for the Spark driver. When applications with the same name are submitted on the same JVM, it's possible the classes are loaded from the incorrect jars. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mitigations/Solution:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use an on-demand cluster for your jobs. This will ensure one jar uses a dedicated cluster. &lt;/LI&gt;&lt;LI&gt;Change the class name in one of the classes to avoid conflict. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 06:52:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/unable-to-run-2-different-applications-with-the-same-class-name/m-p/20784#M454</guid>
      <dc:creator>brickster_2018</dc:creator>
      <dc:date>2021-06-24T06:52:56Z</dc:date>
    </item>
  </channel>
</rss>

