<?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: How to install a JAR library via a global init script? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/119691#M45946</link>
    <description>&lt;P&gt;Ensure your init script installs the JAR correctly on cluster startup.&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 06:26:51 GMT</pubDate>
    <dc:creator>EliCunningham</dc:creator>
    <dc:date>2025-05-20T06:26:51Z</dc:date>
    <item>
      <title>How to install a JAR library via a global init script?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22535#M15441</link>
      <description>&lt;P&gt;I have a JAR I want to be installed as a library on all clusters. I have tried both &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wget /databricks/jars/ some_repo&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cp /dbfs/FileStore/jars/name_of_jar.jar /databricks/jars/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;clusters start up but the JAR is not installed as a library. I am aware that it might not show in the UI under libraries however its effect allows the querying of JSON formatted tables. Testing with a newly started/created table results in an error when querying such a table. The only way I have gotten this to work is through the GUI on a cluster by cluster basis using the path in the second snippet. So the file is good. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing to doing this programmatically via an init script?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 02:10:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22535#M15441</guid>
      <dc:creator>ncouture</dc:creator>
      <dc:date>2022-11-14T02:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to install a JAR library via a global init script?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22536#M15442</link>
      <description>&lt;P&gt;@Nicholas Couture​&amp;nbsp;please try below steps in article, if you have not come across, you need to go with global init config please.  &lt;A href="https://docs.databricks.com/clusters/init-scripts.html" alt="https://docs.databricks.com/clusters/init-scripts.html" target="_blank"&gt;Cluster node initialization scripts | Databricks on AWS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 18:27:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22536#M15442</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2022-11-15T18:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to install a JAR library via a global init script?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22537#M15443</link>
      <description>&lt;P&gt;Yes I have viewed that article already. It contains nothing new or helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the JAR in the system classpath of the Spark UI but it doesn't seem to be installed/initialised for the cluster. This is really quite annoying&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 22:13:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22537#M15443</guid>
      <dc:creator>ncouture</dc:creator>
      <dc:date>2022-11-15T22:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to install a JAR library via a global init script?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22538#M15444</link>
      <description>&lt;P&gt;Found a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo /databricks/databricks-hive /databricks/jars /databricks/glue | xargs -n 1 cp /dbfs/FileStore/jars/NAME_OF_THE_JAR.jar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;had to first add the jar as a library through the GUI via Create -&amp;gt; Library then uploaded the downloaded JAR. Copying it into the three locations noted sorted it out&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 04:30:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/22538#M15444</guid>
      <dc:creator>ncouture</dc:creator>
      <dc:date>2022-12-09T04:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to install a JAR library via a global init script?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/119691#M45946</link>
      <description>&lt;P&gt;Ensure your init script installs the JAR correctly on cluster startup.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 06:26:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-install-a-jar-library-via-a-global-init-script/m-p/119691#M45946</guid>
      <dc:creator>EliCunningham</dc:creator>
      <dc:date>2025-05-20T06:26:51Z</dc:date>
    </item>
  </channel>
</rss>

