<?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 Connect Databrick's cluster with Artifactory in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/connect-databrick-s-cluster-with-artifactory/m-p/152536#M53844</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to connect databricks with an own JFrog Artifactory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The objective is to download both PIP/JAR dependencies from it instead of connecting to maven-central/PyPi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im struggling with JAR's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My aproximation to solve the problem is:&lt;/P&gt;&lt;P&gt;1. Create an init script creating a new trustore with CA where the Artifactory is deployed and saving it in /tmp.&lt;/P&gt;&lt;P&gt;2. Create a new Ivy Settings with de solver's for the artifactory repositories.&lt;/P&gt;&lt;P&gt;3. Configure spark conf in order that it get's everything. The properties setted are:&lt;BR /&gt;spark.driver.extraJavaOptions -Djavax.net.ssl.trustStore=With the jks -Djavax.net.ssl.trustStorePassword=changeit&lt;BR /&gt;spark.executor.extraJavaOptions -Djavax.net.ssl.trustStore=With the jks -Djavax.net.ssl.trustStorePassword=changeit&lt;BR /&gt;spark.databricks.library.ivySettings /Volumes/XXX/init_scripts/ivysettings.xml&lt;BR /&gt;spark.jars.packages com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.22&lt;/P&gt;&lt;P&gt;The cluster is a Standard one with 16.4 LTS Runtime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help I would appreciate it.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2026 15:25:06 GMT</pubDate>
    <dc:creator>P10d</dc:creator>
    <dc:date>2026-03-30T15:25:06Z</dc:date>
    <item>
      <title>Connect Databrick's cluster with Artifactory</title>
      <link>https://community.databricks.com/t5/data-engineering/connect-databrick-s-cluster-with-artifactory/m-p/152536#M53844</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to connect databricks with an own JFrog Artifactory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The objective is to download both PIP/JAR dependencies from it instead of connecting to maven-central/PyPi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im struggling with JAR's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My aproximation to solve the problem is:&lt;/P&gt;&lt;P&gt;1. Create an init script creating a new trustore with CA where the Artifactory is deployed and saving it in /tmp.&lt;/P&gt;&lt;P&gt;2. Create a new Ivy Settings with de solver's for the artifactory repositories.&lt;/P&gt;&lt;P&gt;3. Configure spark conf in order that it get's everything. The properties setted are:&lt;BR /&gt;spark.driver.extraJavaOptions -Djavax.net.ssl.trustStore=With the jks -Djavax.net.ssl.trustStorePassword=changeit&lt;BR /&gt;spark.executor.extraJavaOptions -Djavax.net.ssl.trustStore=With the jks -Djavax.net.ssl.trustStorePassword=changeit&lt;BR /&gt;spark.databricks.library.ivySettings /Volumes/XXX/init_scripts/ivysettings.xml&lt;BR /&gt;spark.jars.packages com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.22&lt;/P&gt;&lt;P&gt;The cluster is a Standard one with 16.4 LTS Runtime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help I would appreciate it.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 15:25:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connect-databrick-s-cluster-with-artifactory/m-p/152536#M53844</guid>
      <dc:creator>P10d</dc:creator>
      <dc:date>2026-03-30T15:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Databrick's cluster with Artifactory</title>
      <link>https://community.databricks.com/t5/data-engineering/connect-databrick-s-cluster-with-artifactory/m-p/153085#M53932</link>
      <description>&lt;P&gt;Hi, I haven't got the ability to test this myself but based on some internal research, I think the following is true:&lt;/P&gt;
&lt;P&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;The most likely issue is your truststore configuration. Setting spark.driver.extraJavaOptions -Djavax.net.ssl.trustStore=&amp;lt;custom-path&amp;gt; replaces the JVM's entire default truststore rather than extending it. This means the JVM loses all the standard public CAs, &lt;BR /&gt;which breaks Ivy/Maven's ability to connect over HTTPS — including to your Artifactory. &lt;BR /&gt;&lt;BR /&gt;Instead of overriding the truststore via Spark conf, add your Artifactory CA to the default Java keystore in your init script: &lt;BR /&gt;&lt;BR /&gt;#!/bin/bash &lt;BR /&gt;&lt;BR /&gt;cat &amp;lt;&amp;lt; 'EOF' &amp;gt; /usr/local/share/ca-certificates/artifactory-ca.crt &lt;BR /&gt;-----BEGIN CERTIFICATE-----&lt;BR /&gt;&amp;lt;your-CA-certificate-chain&amp;gt; &lt;BR /&gt;-----END CERTIFICATE-----&lt;BR /&gt;EOF&lt;/P&gt;
&lt;P&gt;update-ca-certificates&lt;/P&gt;
&lt;P&gt;JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::") &lt;BR /&gt;KEYSTORE="$JAVA_HOME/lib/security/cacerts"&lt;BR /&gt;&lt;BR /&gt;keytool -noprompt -import -trustcacerts \&lt;BR /&gt;-alias artifactory-ca \&lt;BR /&gt;-keystore $KEYSTORE \&lt;BR /&gt;-storepass changeit \&lt;BR /&gt;-file /usr/local/share/ca-certificates/artifactory-ca.crt &lt;BR /&gt;&lt;BR /&gt;Then remove the spark.driver.extraJavaOptions and spark.executor.extraJavaOptions truststore settings entirely. The JVM will use the updated default keystore which now has both the standard public CAs and your Artifactory CA. &lt;BR /&gt;&lt;BR /&gt;If this fixes it can you mark as the accepted solution to help others please.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Emma&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 17:00:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connect-databrick-s-cluster-with-artifactory/m-p/153085#M53932</guid>
      <dc:creator>emma_s</dc:creator>
      <dc:date>2026-04-02T17:00:05Z</dc:date>
    </item>
  </channel>
</rss>

