cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

chandru44
by Databricks Partner
  • 8761 Views
  • 3 replies
  • 2 kudos

Resolved! Networking Challenges with Databricks Serverless Compute (Control Plane) When Connecting to On-Prem

Hi Databricks Community,I'm working through some networking challenges when connecting Databricks clusters to various data sources and wanted to get advice or best practices from others who may have faced similar issues.Current Setup:I have four type...

Databricks Serverless Community Post.drawio (2).png
  • 8761 Views
  • 3 replies
  • 2 kudos
Latest Reply
bitc
Databricks Partner
  • 2 kudos

Thank you Louis for the detailed explanation and guidance!

  • 2 kudos
2 More Replies
Chiran-Gajula
by New Contributor III
  • 1263 Views
  • 1 replies
  • 1 kudos

Resolved! How safe is Databricks workspaces with user files uploaded to workspace?

With the growing adoption of diverse machine learning, AI, and data science models available in the market, it has become increasingly challenging to assess the safety of processing these models—especially when considering the potential for malicious...

  • 1263 Views
  • 1 replies
  • 1 kudos
Latest Reply
stbjelcevic
Databricks Employee
  • 1 kudos

Hi @Chiran-Gajula , Thanks for raising this. There are a few complementary controls that can put in place across models, inference traffic, files, and observability. Is there currently any mechanism in place within Databricks to track and verify the ...

  • 1 kudos
maikel
by Contributor III
  • 1383 Views
  • 3 replies
  • 2 kudos

Resolved! Accessing data bricks data outside data bricks

Hi!What is the best way to access data bricks data, outside data bricks e.g. from Python code? The main problem is authentication so that I can access data to which I have permissions but I would like to generate token outside data bricks (e.g. via R...

  • 1383 Views
  • 3 replies
  • 2 kudos
Latest Reply
dkushari
Databricks Employee
  • 2 kudos

Hi @maikel - You can set up a Service Principal in Databricks and a client ID and Client Secret. Then set up a Databricks profile and use Python code with that profile. Look at the profile section in step 2, how the profile can be set up with client ...

  • 2 kudos
2 More Replies
Barnita
by New Contributor III
  • 1828 Views
  • 2 replies
  • 3 kudos

Pre-Commit hook in Databricks

Hi team,Anyone has any idea how to use pre-commit hooks when developing via Databricks UI?Would specifically want to use something like isort, black, ruff etc.I have created .pre-commit-config.yaml and pyproject.toml files in my cloned repo folder, b...

  • 1828 Views
  • 2 replies
  • 3 kudos
Latest Reply
nayan_wylde
Esteemed Contributor II
  • 3 kudos

Databricks Repos (Git folders) do not support Git hooks natively.The error you're seeing (git failed. Is it installed, and are you in a Git repository directory?) is expected because:1. The Databricks notebook environment does not expose a full Git C...

  • 3 kudos
1 More Replies
r_w_
by Databricks Partner
  • 9099 Views
  • 7 replies
  • 2 kudos

Resolved! Best Practices for Mapping Between Databricks and AWS Accounts

Hi everyone, this is my first post here. I'm doing my best to write in English, so I apologize if anything is unclear.I'm looking to understand the best practices for how many environments to set up when using Databricks on AWS. I'm considering the f...

  • 9099 Views
  • 7 replies
  • 2 kudos
Latest Reply
Isi
Honored Contributor III
  • 2 kudos

Hey @r_w_ If you think my answer was correct, it would be great if you could mark it as a solution to help future users Thanks,Isi

  • 2 kudos
6 More Replies
Rvwijk
by New Contributor II
  • 5192 Views
  • 2 replies
  • 0 kudos

Resolved! New default notebook format (IPYNB) causes unintended changes on release

Dear Databricks,We have noticed the following issue since the new default notebook format has been set to IPYNB. When we release our code from (for example) DEV to TST using a release pipeline built in Azure DevOps, we see unintended changes popping ...

  • 5192 Views
  • 2 replies
  • 0 kudos
Latest Reply
dkushari
Databricks Employee
  • 0 kudos

Hi @Rvwijk, please take a look at this. This should solve your issue. I suspect the mismatch is happening due to the previous ones, including output for the notebook cells. You may need to perform a rebase of your repository and allow the output to b...

  • 0 kudos
1 More Replies
hasanakhuy
by New Contributor
  • 1881 Views
  • 1 replies
  • 1 kudos

Resolved! AIM with Entra ID Groups – Users and Service Principals not visible in Workspace

Hello Community, I am testing Automatic Identity Management (AIM) in Databricks with Unity Catalog enabled. Steps I did:      •     AIM is activated      •     In Microsoft Entra ID I created a group g1 and added user u1 and service principal sp1    ...

  • 1881 Views
  • 1 replies
  • 1 kudos
Latest Reply
dkushari
Databricks Employee
  • 1 kudos

In Azure Databricks, when AIM is enabled, Entra users, service principals, and groups are available in Azure Databricks as soon as they’re granted permissions. Group memberships, including nested groups, flow directly from Entra ID, so permissions al...

  • 1 kudos
help_needed_445
by Contributor
  • 1181 Views
  • 1 replies
  • 1 kudos

Questions About Notebook Debugging Tools

I'm researching the different ways to debug in databricks notebooks and have some questions.1. Can the python breakpoint() function be used in notebooks? This article says it can be used https://www.databricks.com/blog/new-debugging-features-databric...

  • 1181 Views
  • 1 replies
  • 1 kudos
Latest Reply
jack_zaldivar
Databricks Employee
  • 1 kudos

Hi @help_needed_445 ! Can you give a bit more information on your environment? Which cloud are you operating in where you are not able to use the native debugging tool? I have tested in an Azure workspace by adding a breakpoint in the gutter of a spe...

  • 1 kudos
ctgchris
by New Contributor III
  • 3357 Views
  • 9 replies
  • 0 kudos

User Token Forwarding Between App?

I have a streamlit databricks app that is intended to be a frontend UI app. I also have a FastAPI databricks app that is intended to be a middleware app. I want my streamlit app to query the middleware app for all business logic and databrick queries...

  • 3357 Views
  • 9 replies
  • 0 kudos
Latest Reply
NandiniN
Databricks Employee
  • 0 kudos

This post?

  • 0 kudos
8 More Replies
Jhaprakash6608
by New Contributor
  • 1816 Views
  • 1 replies
  • 1 kudos

Resolved! Spark executor logs path

We are running spark workloads and have enabled cluster log discovery to push executor logs to Azure blog. While that's running fine, I'd also like to know the local path of the executor logs so that I can make use of oneagent from dynatrace and send...

  • 1816 Views
  • 1 replies
  • 1 kudos
Latest Reply
Krishna_S
Databricks Employee
  • 1 kudos

Local Executor Log Path on Azure Databricks Executor logs are written locally on each executor node under the work directory: The path pattern is: /databricks/spark/work/<app-id>/<executor-id> For example: /databricks/spark/work/app-20221121180310-00...

  • 1 kudos
ctgchris
by New Contributor III
  • 2177 Views
  • 1 replies
  • 1 kudos

User OBO Token Forwarding between apps

Can user OAuth tokens be forwarded between Databricks Apps for on-behalf-of (OBO) authorization?I have two Databricks Apps deployed in the same workspace:1. **UI App** (Streamlit) - configured with OAuth user authorization2. **Middleware App** (FastA...

  • 2177 Views
  • 1 replies
  • 1 kudos
Latest Reply
Khaja_Zaffer
Esteemed Contributor
  • 1 kudos

Hello @ctgchris Just pushing this issue for visibility to others. Someone from databricks can come up with a solution. 

  • 1 kudos
noklamchan
by New Contributor II
  • 5900 Views
  • 4 replies
  • 3 kudos

How to access UnityCatalog's Volume inside Databricks App?

I am more familiar with DBFS, which seems to be replaced by UnityCatalog Volume now. When I create a Databricks App, it allowed me to add resource to pick UC volume. How do I actually access the volume inside the app? I cannot find any example, the a...

  • 5900 Views
  • 4 replies
  • 3 kudos
Latest Reply
nayan_wylde
Esteemed Contributor II
  • 3 kudos

Apps don’t mount /Volumes and don’t ship with dbutils. So os.listdir('/Volumes/...') or dbutils.fs.ls(...) won’t work inside an App. Use the Files API or Databricks SDK instead to read/write UC Volume files, then work on a local copy.Code using Pytho...

  • 3 kudos
3 More Replies
rabbitturtles
by New Contributor III
  • 2561 Views
  • 5 replies
  • 1 kudos

Resolved! Databricks Apps On behalf of user authorization - General availability date?

Currently Databricks apps on behalf of user authorization is in public-preview. Any idea when this would be generally available or where I can see it's release plan?https://docs.databricks.com/aws/en/release-notes/product/2025/march#databricks-apps-c...

  • 2561 Views
  • 5 replies
  • 1 kudos
Latest Reply
WiliamRosa
Databricks Partner
  • 1 kudos

Hi @rabbitturtles Additionally, you can subscribe to the Databricks Newsletter and join the Product Roadmap Webinars, where they announce all the latest private previews.”https://www.databricks.com/resources?_sft_resource_type=newsletters

  • 1 kudos
4 More Replies
sparkplug
by Contributor
  • 5401 Views
  • 5 replies
  • 1 kudos

Resolved! Databricks service principal token federation on Kubernetes

Hi I am trying to create a service principal federation policy against AKS cluster. But I am struggling to make it work without any examples. It would be great if you could share examples on how this would work for a service account.Additionally, wha...

  • 5401 Views
  • 5 replies
  • 1 kudos
Latest Reply
sparkplug
Contributor
  • 1 kudos

I am currently using a two step process, logging in using azure library and then getting an access token from Azure using the databricks scope. And then using that to authorize towards Databricks. I would like to use `env-oidc` auth type instead, but...

  • 1 kudos
4 More Replies
ez
by New Contributor II
  • 3539 Views
  • 5 replies
  • 4 kudos

Resolved! SQLSTATE: 42501 - Missing Privileges for User Groups

Dear AllI'm investigating missing privileges for some of our users.When connecting to an Oracle database via JDBC and attempting to display a DataFrame, we encounter the following error:User does not have permission SELECT on any file. SQLSTATE: 4250...

  • 3539 Views
  • 5 replies
  • 4 kudos
Latest Reply
ez
New Contributor II
  • 4 kudos

@nayan_wylde thank you, that is exactly what I was looking for and could not find

  • 4 kudos
4 More Replies