cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Constructor public com.databricks.backend.daemon.dbutils.FSUtilsParallel is not whitelisted when mounting a s3 bucket

Anonymous
Not applicable

Hello all, I'm experiencing this issueConstructor public com.databricks.backend.daemon.dbutils.FSUtilsParallel is not whitelisted when I'm trying to mount a s3 bucket.

%python
dbutils.fs.mount("s3a://dd-databricks-staging-storage/data/staging/datalake/storage", "/mnt/storage")

The cluster is a standard cluster

Can someone explain me what is going on?

4 REPLIES 4

Anonymous
Not applicable

10.4 LTS the things evolved a bit.

After investigation, most of these problems are because of the instance profile in use.

I'll update the post with the solution as soon as we get it.

data_boy_2022
New Contributor III

Did you find a solution? I am running into a similar problem.

Anonymous
Not applicable

I'm not on infra team, but it seems that

 spark.databricks.pyspark.enablePy4JSecurity false

did the job

leonids2005
New Contributor II

WE have this problem running cluster with 11.2 and shared access mode.

 spark.databricks.pyspark.enablePy4JSecurity false - this does not help because it says

 spark.databricks.pyspark.enablePy4JSecurity is not allowed when choosing access mode

here is the error we are getting

[17:30] Leonid Sokolovskiy

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!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group