<?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: QuantileDiscretizer is not whiteliested erro!! in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/97486#M39494</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using 13.3 LTS (includes Apache Spark 3.4.1, Scala 2.12)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please help to resolve this?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 11:45:42 GMT</pubDate>
    <dc:creator>sandeephenkel23</dc:creator>
    <dc:date>2024-11-04T11:45:42Z</dc:date>
    <item>
      <title>QuantileDiscretizer is not whiteliested erro!!</title>
      <link>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/96074#M39207</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Dear Team,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We observed that while attempting to use the following import:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; pyspark.sql &lt;SPAN class=""&gt;import&lt;/SPAN&gt; functions &lt;SPAN class=""&gt;as&lt;/SPAN&gt; F&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; pyspark.ml.feature &lt;SPAN class=""&gt;import&lt;/SPAN&gt; QuantileDiscretizer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;we are encountering the following error:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Py4JSecurityException: QuantileDiscretizer is not whitelisted.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;This suggests that the QuantileDiscretizer class is restricted due to security policies within the current environment. Could you kindly advise on how to proceed&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 05:30:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/96074#M39207</guid>
      <dc:creator>sandeephenkel23</dc:creator>
      <dc:date>2024-10-25T05:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: QuantileDiscretizer is not whiteliested erro!!</title>
      <link>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/96995#M39390</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88269"&gt;@sandeephenkel23&lt;/a&gt;&amp;nbsp;in which DBR release or environment are you facing this?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 13:41:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/96995#M39390</guid>
      <dc:creator>VZLA</dc:creator>
      <dc:date>2024-10-31T13:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: QuantileDiscretizer is not whiteliested erro!!</title>
      <link>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/97486#M39494</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using 13.3 LTS (includes Apache Spark 3.4.1, Scala 2.12)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please help to resolve this?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 11:45:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/97486#M39494</guid>
      <dc:creator>sandeephenkel23</dc:creator>
      <dc:date>2024-11-04T11:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: QuantileDiscretizer is not whiteliested erro!!</title>
      <link>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/97488#M39496</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88269"&gt;@sandeephenkel23&lt;/a&gt;&amp;nbsp;I've run the same code in DBR 13.3 LTS, and 1) It is successfully imported, 2) I can confirm it is in the whitelisted libs. Hence I'm wondering if there's anything else particular in your use case, triggering this? Is your use case a simple DBR 13.3 LTS bare cluster, no additional configs, and also no additional code other than what you have shared here, not used within a UDF, or in a py environment, etc, etc? If you can provide the exact reproducer, we can get to the root cause. Please consider all possible variables, like cluster mode (Assigned, Shared, etc), policies, spark properties, etc.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 12:05:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/quantilediscretizer-is-not-whiteliested-erro/m-p/97488#M39496</guid>
      <dc:creator>VZLA</dc:creator>
      <dc:date>2024-11-04T12:05:50Z</dc:date>
    </item>
  </channel>
</rss>

