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

MarcusC
by New Contributor III
  • 1930 Views
  • 3 replies
  • 2 kudos

Databricks Apps

I've created a Databricks App that is essentially a REST Api in Flask. It returns a json object. Data is in sql-warehouse. It works when calling directly in browser but I want to access it with rest api and Bearer token. But when I login with a servi...

  • 1930 Views
  • 3 replies
  • 2 kudos
Latest Reply
Gareema
Contributor
  • 2 kudos

Did it work, I am trying something similar? If yes, please provide how you achieved it? 

  • 2 kudos
2 More Replies
tasozgurcem
by New Contributor
  • 1740 Views
  • 1 replies
  • 0 kudos

Is it possible to run all Python (not just Spark) via Databricks cluster from local IDE?

Hi all,When connecting to a Databricks cluster from a local IDE like VS Code, Spark operations already run on the cluster.But is there a way to route all Python code — not just Spark — to run directly on the Databricks cluster as well?Thanks!

  • 1740 Views
  • 1 replies
  • 0 kudos
Latest Reply
Advika
Community Manager
  • 0 kudos

Hello @tasozgurcem! If you want your whole Python script to run on the cluster, you can either upload the file or run it as a job using the Databricks extension.Check this out: https://docs.databricks.com/aws/en/dev-tools/vscode-ext/runhttps://docs.d...

  • 0 kudos
Yashbogam
by New Contributor II
  • 2079 Views
  • 5 replies
  • 0 kudos

Workspace Failed to Launch – Internal Error

 I'm encountering an issue while trying to launch a Databricks workspace on GCP.Has anyone experienced this before or know what might be causing it?Would appreciate any help!Error Message: "An internal error occurred when launching the workspace."  

Screenshot 2025-07-10 at 10.51.00 PM.png
  • 2079 Views
  • 5 replies
  • 0 kudos
Latest Reply
Yashbogam
New Contributor II
  • 0 kudos

I have all the quotas, and the Databricks support team told me to post in the community

  • 0 kudos
4 More Replies
KingAJ
by New Contributor II
  • 1615 Views
  • 2 replies
  • 0 kudos

How to Change Created By Field in SQL Warehouses Without Recreating Them?

I’m trying to update the "Created by" field on an existing SQL warehouse without having to recreate the entire warehouse. I attempted to use the Databricks Python SDK to run an update command, but unfortunately, it didn’t change the field.Has anyone ...

KingAJ_0-1752654507554.png
  • 1615 Views
  • 2 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @KingAJ ,Maybe you can try to use following REST API endpoint? There's a creator_name attribute that you can use.Update a warehouse | SQL Warehouses API | REST API reference | Databricks on AWS

  • 0 kudos
1 More Replies
dbx-soundar
by New Contributor II
  • 2326 Views
  • 2 replies
  • 1 kudos

Databricks Audit Logs Analysis

Please share the attributes related to the audit logsHow is the audit logs can be utilized by cyber security team? What are the insights into the audit logs and how we can maintain the compliance? What are the non-compliance items can be identified f...

  • 2326 Views
  • 2 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

The audit logs will only get the information of the events and actions being performed by users, service principals in the workspace, so there is no compliance actions being tracked itself.The Service name is a subgroup of items you want to check, so...

  • 1 kudos
1 More Replies
dipin_wantoo
by New Contributor
  • 2066 Views
  • 1 replies
  • 0 kudos

not able to configure databricks with aws

I am trying to set up Databricks with my AWS account but I am facing some issues, I followed the steps to create a new Databricks workspace using the AWS CloudFormation template or Databricks setup guide, But the CloudFormation stack fails every time...

  • 2066 Views
  • 1 replies
  • 0 kudos
Latest Reply
Advika
Community Manager
  • 0 kudos

Hello @dipin_wantoo! Can you please check the CloudFormation Stack Events for the exact error? That should help identify why the stack is failing. If you're looking to get started with Databricks as an individual user, the Express Setup is a simple w...

  • 0 kudos
AlexMc
by New Contributor III
  • 2890 Views
  • 3 replies
  • 1 kudos

Library installation failed for library due to user error for pypi

Hi!I get the below error when a cluster job starts up and tries to install a Python .whl file. (Which is hosted on an Azure Artefact feed, though this seems more like a problem of trying to read from a disk/network storage). The failure is seemingly ...

  • 2890 Views
  • 3 replies
  • 1 kudos
Latest Reply
AlexMc
New Contributor III
  • 1 kudos

Thanks both - I think the problem is that this library installation is called when creating a new Job & Task via the rest endpoint. Where the libraires are specified in the .json file. So short version, don't think I can 'get at' the pip install call...

  • 1 kudos
2 More Replies
SBL
by Contributor
  • 3388 Views
  • 2 replies
  • 1 kudos

Resolved! Why am I seeing NAT Gateway in the cost? Serverless Compute.

I have Azure Databricks premium subscription. I am running the Python interactive Notebooks in the Databricks Wokrspace using Serverless compute since the last few days. Today I received an alter in my email saying the monthly Billing already crossed...

NAT Gateway.png
  • 3388 Views
  • 2 replies
  • 1 kudos
Latest Reply
SBL
Contributor
  • 1 kudos

Thanks @szymon_dybczak I deleted the Workspace and the NAT Gatway service got deleted from the vnet. I created a simple single node cluster to run my code. 

  • 1 kudos
1 More Replies
philmac750
by New Contributor III
  • 1816 Views
  • 1 replies
  • 0 kudos

Resolved! Can I add another user to Free edition

Is it possible to add another user to Free edition ?I am wanting to test what they can see when they connect as a restricted user i.e. only granted Browse on 1 catalogThanks

  • 1816 Views
  • 1 replies
  • 0 kudos
Latest Reply
philmac750
New Contributor III
  • 0 kudos

Apologies.  Yes you can - I was in the wrong console.

  • 0 kudos
Charansai
by New Contributor III
  • 5229 Views
  • 7 replies
  • 0 kudos

Failing PowerBi connection with data Bricks via SQL warehouse

  I'm encountering an 'Invalid credentials' error (Session ID: 4601-b5a6-0daf792752a2, Region: us) when connecting Power BI to an Azure Databricks SQL Warehouse using an SPN. The SPN has CAN MANAGE access at SQL warehouse, admin rights at account and...

SaiChandu_2-1752261722144.png
  • 5229 Views
  • 7 replies
  • 0 kudos
Latest Reply
Khaja_Zaffer
Esteemed Contributor
  • 0 kudos

Hello sai, sorry for the experience   I usually available at desk during EMEA time zone. Apologies for the delay. Can you please try this?In "Advanced settings" of the data source within the gateway configuration and set the "Connection Encryption se...

  • 0 kudos
6 More Replies
xaveri
by New Contributor
  • 2690 Views
  • 1 replies
  • 0 kudos

Looking for insights on enabling Databricks Automatic Provisioning

We currently have a SCIM provisioning connector set up to synchronize identities from Entra ID to Unity Catalog.We’re now considering enabling Databricks Automatic Provisioning but want to fully understand the potential impact on our environment befo...

  • 2690 Views
  • 1 replies
  • 0 kudos
Latest Reply
Khaja_Zaffer
Esteemed Contributor
  • 0 kudos

TranslateHello Xaveri.Good day!Here are few links related to databricks provisioninghttps://docs.databricks.com/aws/en/admin/users-groups/scim/aadhttps://www.databricks.com/blog/announcing-automatic-identity-management-azure-databricksBut do let me k...

  • 0 kudos
HariSelvarajan
by Databricks Employee
  • 4291 Views
  • 4 replies
  • 4 kudos

Privileged Identity Management for Databricks with Microsoft Entra ID

Privileged Identity Management (PIM) can be used to secure access to critical Databricks roles with Just-in-Time (JIT) access. This approach helps organizations enforce time-bound permissions, approval workflows, and centralized auditing for sensitiv...

  • 4291 Views
  • 4 replies
  • 4 kudos
Latest Reply
AnitPatelADB
Databricks Partner
  • 4 kudos

Is this possible without SCIM?

  • 4 kudos
3 More Replies
matthiasn
by Databricks Partner
  • 2148 Views
  • 2 replies
  • 0 kudos

Delete unassigned catalogs

Hi everybody,due to some not-so-optimal Infrastructure as code experiments with terraform I ended up a lot (triple digit) of catalogs in a metastore that are not assigned to any workspace and that i want to delete.Unfortunately, there is no way to ev...

  • 2148 Views
  • 2 replies
  • 0 kudos
Latest Reply
matthiasn
Databricks Partner
  • 0 kudos

Yeah, I see those catalogs and i know that I could reattach and delete them. As i have around 100 those catalogs it would be nice to iterate through them by getting a list, e.g. using the cli or the rest API. And then force delete them , as described...

  • 0 kudos
1 More Replies
Sisi
by New Contributor
  • 1677 Views
  • 1 replies
  • 1 kudos

VS Code - ipynb vs py execution - spark issue

Databricks Connect works inside VS Code notebook but the same code fails in a standalone script withValueError: default auth: cannot configure default credentialsI’m developing locally with **Databricks Connect 16.1.6** and VS Code.Inside a Jupyter n...

  • 1677 Views
  • 1 replies
  • 1 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 1 kudos

Hi @Sisi ,I think what's happening here is when you debug with option "Debug current file with Databricks Connect" then VS Code is using Databricks extension, which automatically handles authentication and sets up proper configuration.The regular Pyt...

  • 1 kudos
carlosjuribe
by Databricks Partner
  • 4017 Views
  • 6 replies
  • 2 kudos

Out of memory error when installing environment dependencies of UC Python UDF

Hi,I've created a small UC Python UDF to test whether it works with custom dependencies (new PP feature), and every time I'm getting OOM errors with this message: [UDF_ENVIRONMENT_USER_ERROR.OUT_OF_MEMORY] Failed to install UDF dependencies for <cata...

  • 4017 Views
  • 6 replies
  • 2 kudos
Latest Reply
Khaja_Zaffer
Esteemed Contributor
  • 2 kudos

I tried with cluster, spent some couple of hours to load some libraries but unable to do. may be someone else can help you on this. 

  • 2 kudos
5 More Replies