<?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 Azure Shared Clusters - P4J Security Exception on non-whitelisted classes in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/azure-shared-clusters-p4j-security-exception-on-non-whitelisted/m-p/43303#M27500</link>
    <description>&lt;P&gt;When I try to use a third party JAR on an Azure shared cluster - which is installed via Maven and I can successfully import - , I get the following message:&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;py4j.security.Py4JSecurityException: Method public static org.apache.spark.sql.Column com.databricks.spark.xx.yy.zz() is not whitelisted on class class com.databricks.spark.xx.yy&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I whitelist third-party library code?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 01:58:21 GMT</pubDate>
    <dc:creator>XavierPereVives</dc:creator>
    <dc:date>2023-09-04T01:58:21Z</dc:date>
    <item>
      <title>Azure Shared Clusters - P4J Security Exception on non-whitelisted classes</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-shared-clusters-p4j-security-exception-on-non-whitelisted/m-p/43303#M27500</link>
      <description>&lt;P&gt;When I try to use a third party JAR on an Azure shared cluster - which is installed via Maven and I can successfully import - , I get the following message:&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;py4j.security.Py4JSecurityException: Method public static org.apache.spark.sql.Column com.databricks.spark.xx.yy.zz() is not whitelisted on class class com.databricks.spark.xx.yy&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I whitelist third-party library code?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 01:58:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-shared-clusters-p4j-security-exception-on-non-whitelisted/m-p/43303#M27500</guid>
      <dc:creator>XavierPereVives</dc:creator>
      <dc:date>2023-09-04T01:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Shared Clusters - P4J Security Exception on non-whitelisted classes</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-shared-clusters-p4j-security-exception-on-non-whitelisted/m-p/43440#M27507</link>
      <description>&lt;P&gt;Thanks Kaniz.&lt;/P&gt;&lt;P&gt;I must use a shared cluster because I'm reading from a DLT table stored in a Unity Catalog.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/compute.html" target="_blank"&gt;https://docs.databricks.com/en/data-governance/unity-catalog/compute.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My understanding is that shared clusters are enforcing the Py4J policy I referenced.&amp;nbsp; I am not sure if this is the same as what you refer to as "table access control", but also I am not trying to use readStream().&amp;nbsp; Rather I'm trying to use code from a third-party library that isn't included in the base cluster runtime. I've installed this library by supplying Maven coordinates in the compute configuration.&lt;/P&gt;&lt;P&gt;So I am wondering if it's possible to, as a customer that must use a shared cluster under the circumstances I described, allowlist third party code that I choose.&amp;nbsp; Otherwise, how is one to use third-party code that hasn't yet been allowlisted while reading from DLT in Unity?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 13:25:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-shared-clusters-p4j-security-exception-on-non-whitelisted/m-p/43440#M27507</guid>
      <dc:creator>XavierPereVives</dc:creator>
      <dc:date>2023-09-04T13:25:25Z</dc:date>
    </item>
  </channel>
</rss>

