<?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 UC Volume access for spark and other config files in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/uc-volume-access-for-spark-and-other-config-files/m-p/56831#M30660</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Wondering if anyone else getting this problem:&lt;/P&gt;&lt;P&gt;We trying to host krb5.conf and jaas.conf for our compute to be able to connect to Kerberised JDBC sources, we attempting to store these files in Catalog volumes, but at run time when initiating the connection with spark.read.format("jdbc"), we get the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"Cannot access the UC Volume path from this location. Path was...."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We using&amp;nbsp;14.2 (includes Apache Spark 3.5.0, Scala 2.12) runtime in Single User mode, which should be able to connect to UC volumes.&lt;/P&gt;&lt;P&gt;Example config we are using:&lt;/P&gt;&lt;P&gt;Djava.security.auth.login.config=dbfs:/Volumes/.../.../jaas.conf&lt;/P&gt;&lt;P&gt;We also checked that the single user also has ALL PRIVILEGES&amp;nbsp;permissions on the catalog and subsequent schema/volumes&lt;/P&gt;&lt;P&gt;Also adding:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;spark.databricks.unityCatalog.volumes.enabled true&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Seems to make no difference &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have also tested that the connection works successfully with just having this in DBFS natively, but ideally we'd like to have better organisation and access-controlled of these files (keytab specifically) per catalog. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 07:34:28 GMT</pubDate>
    <dc:creator>dwfchu1</dc:creator>
    <dc:date>2024-01-10T07:34:28Z</dc:date>
    <item>
      <title>UC Volume access for spark and other config files</title>
      <link>https://community.databricks.com/t5/data-engineering/uc-volume-access-for-spark-and-other-config-files/m-p/56831#M30660</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Wondering if anyone else getting this problem:&lt;/P&gt;&lt;P&gt;We trying to host krb5.conf and jaas.conf for our compute to be able to connect to Kerberised JDBC sources, we attempting to store these files in Catalog volumes, but at run time when initiating the connection with spark.read.format("jdbc"), we get the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"Cannot access the UC Volume path from this location. Path was...."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We using&amp;nbsp;14.2 (includes Apache Spark 3.5.0, Scala 2.12) runtime in Single User mode, which should be able to connect to UC volumes.&lt;/P&gt;&lt;P&gt;Example config we are using:&lt;/P&gt;&lt;P&gt;Djava.security.auth.login.config=dbfs:/Volumes/.../.../jaas.conf&lt;/P&gt;&lt;P&gt;We also checked that the single user also has ALL PRIVILEGES&amp;nbsp;permissions on the catalog and subsequent schema/volumes&lt;/P&gt;&lt;P&gt;Also adding:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;spark.databricks.unityCatalog.volumes.enabled true&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Seems to make no difference &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have also tested that the connection works successfully with just having this in DBFS natively, but ideally we'd like to have better organisation and access-controlled of these files (keytab specifically) per catalog. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 07:34:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/uc-volume-access-for-spark-and-other-config-files/m-p/56831#M30660</guid>
      <dc:creator>dwfchu1</dc:creator>
      <dc:date>2024-01-10T07:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: UC Volume access for spark and other config files</title>
      <link>https://community.databricks.com/t5/data-engineering/uc-volume-access-for-spark-and-other-config-files/m-p/57197#M30736</link>
      <description>&lt;P&gt;Haven't been able to access volume path when using&amp;nbsp;jdbc format.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 20:16:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/uc-volume-access-for-spark-and-other-config-files/m-p/57197#M30736</guid>
      <dc:creator>mbendana</dc:creator>
      <dc:date>2024-01-12T20:16:04Z</dc:date>
    </item>
  </channel>
</rss>

