<?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 Re: Issue with Maven Dependency Resolution in Databricks (json-smart) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109999#M43458</link>
    <description>&lt;P&gt;Thanks VitorFerron, exlcuding json-smart dependency worked for installing affected library with Maven (azure-eventhubs-spark_2.12:2.3.22 in my case).&lt;BR /&gt;&lt;BR /&gt;When you say force a stable version instead, do you mean explicitly install json-smart library on cluster with Maven (in my case&amp;nbsp;&lt;SPAN&gt;net.minidev:json-smart:2.3&lt;/SPAN&gt;&amp;nbsp;for example)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 14:13:30 GMT</pubDate>
    <dc:creator>MLob</dc:creator>
    <dc:date>2025-02-12T14:13:30Z</dc:date>
    <item>
      <title>Issue with Maven Dependency Resolution in Databricks (json-smart)</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109958#M43448</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm experiencing issues installing a library in my Databricks cluster due to a Maven dependency resolution error. Specifically, when trying to install or use libraries that depend on net.minidev:json-smart, I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Library installation attempted &lt;SPAN class=""&gt;on&lt;/SPAN&gt; the driver node &lt;SPAN class=""&gt;and&lt;/SPAN&gt; failed. &lt;SPAN class=""&gt;Error&lt;/SPAN&gt; code: ERROR_MAVEN_LIBRARY_RESOLUTION, &lt;SPAN class=""&gt;error&lt;/SPAN&gt; message: Library resolution failed because unresolved dependency: net.minidev:json-smart:[&lt;SPAN class=""&gt;1.3&lt;/SPAN&gt;.&lt;SPAN class=""&gt;1&lt;/SPAN&gt;,&lt;SPAN class=""&gt;2.3&lt;/SPAN&gt;]: &lt;SPAN class=""&gt;not&lt;/SPAN&gt; found.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;After researching, it seems that there is an issue with the Maven metadata for json-smart, causing some versions to be unresolved. I've tried:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Manually specifying json-smart:2.4.8 in the cluster library settings.&lt;/LI&gt;&lt;LI&gt;Adding alternative repositories (&lt;A href="https://repo1.maven.org/maven2/" target="_blank" rel="noopener"&gt;https://repo1.maven.org/maven2/&lt;/A&gt;, &lt;A href="https://jitpack.io" target="_blank" rel="noopener"&gt;https://jitpack.io&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;Cleaning the cluster library cache and restarting.&lt;/LI&gt;&lt;LI&gt;Excluding json-smart from Azure SDK dependencies to force a specific version.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;None of these have resolved the issue. Has anyone encountered this problem in Databricks? Any suggestions on how to force a specific version or work around the Maven metadata issue?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 11:03:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109958#M43448</guid>
      <dc:creator>VictorFerron</dc:creator>
      <dc:date>2025-02-12T11:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Maven Dependency Resolution in Databricks (json-smart)</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109994#M43455</link>
      <description>&lt;P&gt;Same problem, same tests, same results. Currently working on it, support is very appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:04:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109994#M43455</guid>
      <dc:creator>MLob</dc:creator>
      <dc:date>2025-02-12T14:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Maven Dependency Resolution in Databricks (json-smart)</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109995#M43456</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To avoid this issue, I manually excluded the json-smart dependency when installing affected libraries and forced a stable version instead.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;If you're facing this issue, this could be a viable solution until the json-smart team fixes the metadata in Maven Central.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:04:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109995#M43456</guid>
      <dc:creator>VictorFerron</dc:creator>
      <dc:date>2025-02-12T14:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Maven Dependency Resolution in Databricks (json-smart)</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109999#M43458</link>
      <description>&lt;P&gt;Thanks VitorFerron, exlcuding json-smart dependency worked for installing affected library with Maven (azure-eventhubs-spark_2.12:2.3.22 in my case).&lt;BR /&gt;&lt;BR /&gt;When you say force a stable version instead, do you mean explicitly install json-smart library on cluster with Maven (in my case&amp;nbsp;&lt;SPAN&gt;net.minidev:json-smart:2.3&lt;/SPAN&gt;&amp;nbsp;for example)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:13:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/109999#M43458</guid>
      <dc:creator>MLob</dc:creator>
      <dc:date>2025-02-12T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Maven Dependency Resolution in Databricks (json-smart)</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/110001#M43459</link>
      <description>&lt;P&gt;You're welcome&lt;/P&gt;&lt;P&gt;Yes, by ‘stable version,’ I mean using a Spark connector version that allows excluding json-smart. Installing an older version manually (like 2.3) may still cause issues, so if excluding it works, I’d recommend sticking with that approach.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2025-02-12 151739.png" style="width: 741px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14846iA1A62BB89B3386D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de pantalla 2025-02-12 151739.png" alt="Captura de pantalla 2025-02-12 151739.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:22:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-maven-dependency-resolution-in-databricks-json-smart/m-p/110001#M43459</guid>
      <dc:creator>VictorFerron</dc:creator>
      <dc:date>2025-02-12T14:22:06Z</dc:date>
    </item>
  </channel>
</rss>

