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: 

Not able to mount ADLS Gen2 in Data bricks

vibhakar
New Contributor

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

3 REPLIES 3

Cedric
Databricks Employee
Databricks Employee

Hi @Vibhakar Prasad​,

Thanks for reaching out to us. Could you please share which access mode your cluster is using?

SnehalTamhane
New Contributor II

@Kaniz Fatma​ I am also facing the same exception when I am trying to mount Gen1 datalake store on azure databricks through python.

I get that by default, only a limited set of methods are whitelisted to prevent potentially unsafe operations, but how do I whitelist this method and get the mount working without the error?

cpradeep
New Contributor III

Hi , have you sorted this issue ? can you please let me know the solution?

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now