Not able to mount on ADLS Gen2 when using a high concurrency cluster in Azure Databricks

Felipe Regis E Silva 46 Reputation points
2022-04-26T21:23:32.877+00:00

Hello all,

I'm experiencing this issue Constructor public com.databricks.backend.daemon.dbutils.FSUtilsParallel is not whitelisted when I'm trying to mount a ADLS container in Databricks notebook.

It follows the script I'm running:

%python
if not any(mount.mountPoint == "containerA" for mount in dbutils.fs.mounts()):
dbutils.fs.mount(
source = "abfss://" + containerNameTemp + "@" + storageAccountName + ".dfs.core.windows.net/",
mount_point = "containerA",
extra_configs = configs)

The cluster is a high concurrency cluster. Credential Passthrough is not enabled and Table Access Control is enabled.

It works fine when using a standard cluster.

Can someone explain me what is going on?

Thanks in advance,

Regis

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,338 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,915 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 76,836 Reputation points Microsoft Employee
    2022-04-27T11:28:31.57+00:00

    Hello @Felipe Regis E Silva ,

    Thanks for the question and using MS Q&A platform.

    This error shows up with some library methods when using High Concurrency cluster with credential pass through enabled. If that is your scenario a work around that may be an option is to use a different cluster mode.

    196887-image.png

    For more details, refer to Access Azure Data Lake Storage using Azure Active Directory credential passthrough.

    Below are the three workarounds to resolve this issue:

    • Update spark.databricks.pyspark.enableProcessIsolation to false
    • Update spark.databricks.pyspark.enablePy4JSecurity to false
    • Use standard clusters.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful