<?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 org.apache.spark.ml.feature.VectorAssembler(java.lang.String) is not whitelisted. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27863#M19706</link>
    <description>&lt;P&gt;Is it High Concurrency cluster with credential passthrough enabled? In that case, you can use a different cluster mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.azuredatabricks.net/spark/latest/data-sources/azure/adls-passthrough.html" alt="https://docs.azuredatabricks.net/spark/latest/data-sources/azure/adls-passthrough.html" target="_blank"&gt;https://docs.azuredatabricks.net/spark/latest/data-sources/azure/adls-passthrough.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This exception is thrown when you have accessed a method that Azure Databricks has not explicitly marked as safe for Azure Data Lake Storage credential passthrough clusters. In most cases, the technique could allow a user on an Azure Data Lake Storage credential passthrough cluster to access another user’s credential.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Oct 2022 18:48:36 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2022-10-16T18:48:36Z</dc:date>
    <item>
      <title>py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssembler(java.lang.String) is not whitelisted.</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27862#M19705</link>
      <description>&lt;P&gt;Hello, i have a problem.&lt;/P&gt;&lt;P&gt;When I try to run the MLlib Assembler (from pyspark.ml.feature import VectorAssembler) I get this error and I don't know what to do anymore. Please help.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 09:05:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27862#M19705</guid>
      <dc:creator>DataRabbit</dc:creator>
      <dc:date>2022-10-12T09:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssembler(java.lang.String) is not whitelisted.</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27863#M19706</link>
      <description>&lt;P&gt;Is it High Concurrency cluster with credential passthrough enabled? In that case, you can use a different cluster mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.azuredatabricks.net/spark/latest/data-sources/azure/adls-passthrough.html" alt="https://docs.azuredatabricks.net/spark/latest/data-sources/azure/adls-passthrough.html" target="_blank"&gt;https://docs.azuredatabricks.net/spark/latest/data-sources/azure/adls-passthrough.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This exception is thrown when you have accessed a method that Azure Databricks has not explicitly marked as safe for Azure Data Lake Storage credential passthrough clusters. In most cases, the technique could allow a user on an Azure Data Lake Storage credential passthrough cluster to access another user’s credential.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 18:48:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27863#M19706</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-10-16T18:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssembler(java.lang.String) is not whitelisted.</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27864#M19707</link>
      <description>&lt;P&gt;Thanks you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 20:04:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/27864#M19707</guid>
      <dc:creator>DataRabbit</dc:creator>
      <dc:date>2022-10-25T20:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssemb</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/93470#M38713</link>
      <description>&lt;P&gt;How could we whitelist this error below with DBR 13.3 and above?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Py4JError: &lt;/SPAN&gt;&lt;SPAN&gt;An error occurred while calling None.org.apache.spark.ml.recommendation.ALS. Trace: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.recommendation.ALS(java.lang.String) is not whitelisted. at py4j.security.WhitelistingPy4JSecurityManager.checkConstructor(WhitelistingPy4JSecurityManager.java:451) at py4j.Gateway.invoke(Gateway.java:256) at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80) at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69) at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:199) at py4j.ClientServerConnection.run(ClientServerConnection.java:119) at java.lang.Thread.run(Thread.java:750)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 15:50:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/93470#M38713</guid>
      <dc:creator>DBXC</dc:creator>
      <dc:date>2024-10-10T15:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssemb</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/124841#M47277</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I am facing the same error with Databricks Serverless (Free Edition) .... please fix it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 01:17:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/124841#M47277</guid>
      <dc:creator>SudiptaDe</dc:creator>
      <dc:date>2025-07-11T01:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssemb</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/139563#M51230</link>
      <description>&lt;P&gt;Do you plan to support this in Serverless Free Edition? Migration from Community Edition to Serveless has been fraught with these limitations.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 19:26:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/139563#M51230</guid>
      <dc:creator>VenuG</dc:creator>
      <dc:date>2025-11-18T19:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssemb</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/148987#M53000</link>
      <description>&lt;P&gt;I encountered the same issue after switching from Databricks Community Edition to Databricks Free Edition. After I detach and reattach the serverless compute, however, the problem went away, likely due to the legacy notebook settings.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Feb 2026 20:44:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/148987#M53000</guid>
      <dc:creator>rabbit-task</dc:creator>
      <dc:date>2026-02-22T20:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: py4j.security.Py4JSecurityException: Constructor public org.apache.spark.ml.feature.VectorAssemb</title>
      <link>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/149017#M53005</link>
      <description>&lt;P&gt;I had resolved it by upgrading couple of things - 1) in environment, bumped-up from 'Standard V2" to "Standard V4" and 2) at "_common" [or 'setup'] notebook, bumped databricks-sdk from "0.30.0" [default comes with dbc"] to the latest e.g. "0.60.0" ..... now all MLLIBs are working as expected&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 05:19:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4j-security-py4jsecurityexception-constructor-public-org/m-p/149017#M53005</guid>
      <dc:creator>sudipdbx</dc:creator>
      <dc:date>2026-02-23T05:19:37Z</dc:date>
    </item>
  </channel>
</rss>

