โ09-16-2022 01:57 AM
Hello,
We're trying to use DBR 10.4 LTS in Shared Mode.
But our python code is not working in that cluster.
We're running into following message
Your administrator has only allowed sql commands on this cluster. This execution contained at least one disallowed language
As suggested, we also tried setting spark conf "spark.databricks.repl.allowedLanguages"
in cluster but still we get same message.
In Admin login both workspace and account level we're not able to locate any such option of setting language.
Note: We've a customer managed VPC installation and using Unity Catalog as well.
Python code is working in No isolation mode but we cannot use it as it doesn't support unity catalog.
Is this bug or a set up issue?
โ09-16-2022 08:55 AM
Hey @Parth Salviโ,
Got it, could you please try adding the following Spark config to your cluster running DBR 10.4?
spark.databricks.unityCatalog.userIsolation.python.preview true
โ09-16-2022 07:35 AM
Hi Parthsalvi,
Could you please try using 11.1+ and see if that works?
โ09-16-2022 08:44 AM
โ09-16-2022 08:55 AM
Hey @Parth Salviโ,
Got it, could you please try adding the following Spark config to your cluster running DBR 10.4?
spark.databricks.unityCatalog.userIsolation.python.preview true
โ09-16-2022 09:15 AM
Python code now working on 10.4 LTS shared mode. Thanks a lot, Cedric !!!
But still facing same issues in 10.4 as well. I've added a separate post for it
Does it seem like custom vpc set up issue ?
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