Not able to mount ADLS Gen2 in Data bricks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 07:36 AM
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
- Labels:
-
Method
-
Method Public
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 08:11 AM
Hi @Vibhakar Prasad,
Thanks for reaching out to us. Could you please share which access mode your cluster is using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 11:17 PM
@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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 06:15 AM
Hi , have you sorted this issue ? can you please let me know the solution?

