cancel
Showing results for 
Search instead for 
Did you mean: 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Christine
by Contributor II
  • 8591 Views
  • 5 replies
  • 0 kudos

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

Due to some problems, I need to set Py4JSecurity to false, however I get the following message: "spark.databricks.pyspark.enablePy4JSecurity is not allowed when choosing an access mode"My cluster is in Shared access mode and a runtime version 12.1 (i...

  • 8591 Views
  • 5 replies
  • 0 kudos
Latest Reply
rmartinezdezaya
New Contributor II
  • 0 kudos

Hello, any update on this? Is this still something not allowed in Databricks? I need to run a function that is not whitelisted and I need that function to run on a shared cluster as I need to read from a table that has a masking in it. So I need eith...

  • 0 kudos
4 More Replies
nccodemonkey
by New Contributor III
  • 47854 Views
  • 19 replies
  • 10 kudos

Unity Catalog Shared Access Mode - dbutils.notebook.entry_point...getContext() not whitelisted

we are switching over to Unity Catalog and attempting to confirm the ability to run our existing notebooks. I have created a new Shared Unity Catalog Cluster and ran the notebook using the new cluster. Ran into an error attempting to execute a prin...

  • 47854 Views
  • 19 replies
  • 10 kudos
Latest Reply
DouglasMoore
Databricks Employee
  • 10 kudos

To replace dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson() and related APIs try:from dbruntime.databricks_repl_context import get_context token = get_context().apiToken host = get_context().browserHostName get_context().__d...

  • 10 kudos
18 More Replies
peter_mcnally
by New Contributor III
  • 5743 Views
  • 4 replies
  • 3 kudos

Recommended Access mode for multiple users with R code functionality?

Hello,I recently tried running R code in a notebook. The notebook is about a year old and was used in a different cluster that no longer exists. I received the message, 'Your administrator has only allowed sql and python commands on this cluster. Thi...

  • 5743 Views
  • 4 replies
  • 3 kudos
Latest Reply
sccn_kcu
New Contributor II
  • 3 kudos

There's a feature in preview available that allows configuring single user access mode clusters that support R, where the assigned single user is a service principal. You can bind multiple users to the service principal to achieve multiple user acces...

  • 3 kudos
3 More Replies
Labels