getting error while creating mount point in data bricks

Lakshmi Narayana Sarma Bhamidipati 110 Reputation points
2024-10-24T09:28:58.9066667+00:00

Hi,

I am getting the following error when trying to create mount point.

py4j.security.Py4JSecurityException: Method public com.databricks.backend.daemon.dbutils.DBUtilsCore$Result com.databricks.backend.daemon.dbutils.DBUtilsCore.mount(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Map) is not whitelisted on class class com.databricks.backend.daemon.dbutils.DBUtilsCore

Please help me with the resolution. Thanks in advance

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,212 questions
{count} votes

Accepted answer
  1. Chandra Boorla 2,525 Reputation points Microsoft Vendor
    2024-10-24T19:21:16.9933333+00:00

    Hi @Lakshmi Narayana Sarma Bhamidipati

    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!

    The error you are facing is because, when utilizing a High Concurrency cluster and enabling credential pass through, this problem occurs with various library operations. When you visit a method that Azure Databricks hasn't expressly designated as safe for Azure Data Lake Storage credential passthrough clusters, this issue is raised.

    User's image For more details, please refer: https://learn.microsoft.com/en-us/azure/databricks/archive/credential-passthrough/adls-passthrough#passthrough-troubleshooting

    Below are the workarounds that you may consider for resolving your query.

    • Use a different cluster mode as a workaround if it describes your situation.
    • Update spark.databricks.pyspark.enableProcessIsolation to false for this your cluster needs to be with no isolation shared access mode
    • Update spark.databricks.pyspark.enablePy4JSecurity to false
    • Use standard clusters in your case as a workaround.

    enter image description here

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click `Accept Answer` and `Yes` for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.