<?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: py4j.security.Py4JSecurityException: Constructor public com.databricks.backend.daemon.dbutils.FSUtilsParallel(org.apache.spark.SparkContext) is not whitelisted. - DBR 10.4 LTS Shared mode in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/py4j-security-py4jsecurityexception-constructor-public-com/m-p/31395#M1675</link>
    <description>&lt;P&gt;I have seen this before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there is one file in the DBFS where we have to write the whitelisted file , so you have to find out where is your whitelisted file location after that you have to add that "com.databricks.....parallel" line in that file and upload it to in the dbfs using dbutils.put command after that it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means any how you have to whitelist above sting that you can see in the error logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works fr you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aviral Bhardwaj&lt;/P&gt;</description>
    <pubDate>Sun, 18 Dec 2022 07:19:38 GMT</pubDate>
    <dc:creator>Aviral-Bhardwaj</dc:creator>
    <dc:date>2022-12-18T07:19:38Z</dc:date>
    <item>
      <title>py4j.security.Py4JSecurityException: Constructor public com.databricks.backend.daemon.dbutils.FSUtilsParallel(org.apache.spark.SparkContext) is not whitelisted. - DBR 10.4 LTS Shared mode</title>
      <link>https://community.databricks.com/t5/machine-learning/py4j-security-py4jsecurityexception-constructor-public-com/m-p/31394#M1674</link>
      <description>&lt;P&gt;We're trying to update permission in Unity Catalog using spark sql statetment spark.sql("&lt;B&gt;ALTER&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; %s.%s OWNER TO `%s`;" % (raw_schema, table_name, 'Metastore_Admins'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we're running into following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1487iB3045F5916B6C707/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're facing issues like these in DBR 10.4 Shared mode only for other methods as well.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 10:44:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/py4j-security-py4jsecurityexception-constructor-public-com/m-p/31394#M1674</guid>
      <dc:creator>parthsalvi</dc:creator>
      <dc:date>2022-09-19T10:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public com.databricks.backend.daemon.dbutils.FSUtilsParallel(org.apache.spark.SparkContext) is not whitelisted. - DBR 10.4 LTS Shared mode</title>
      <link>https://community.databricks.com/t5/machine-learning/py4j-security-py4jsecurityexception-constructor-public-com/m-p/31395#M1675</link>
      <description>&lt;P&gt;I have seen this before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there is one file in the DBFS where we have to write the whitelisted file , so you have to find out where is your whitelisted file location after that you have to add that "com.databricks.....parallel" line in that file and upload it to in the dbfs using dbutils.put command after that it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means any how you have to whitelist above sting that you can see in the error logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works fr you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aviral Bhardwaj&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2022 07:19:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/py4j-security-py4jsecurityexception-constructor-public-com/m-p/31395#M1675</guid>
      <dc:creator>Aviral-Bhardwaj</dc:creator>
      <dc:date>2022-12-18T07:19:38Z</dc:date>
    </item>
  </channel>
</rss>

