cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

lukaszl
by New Contributor III
  • 10620 Views
  • 6 replies
  • 7 kudos

Resolved! Access the environment variable from the custom container base cluster

Hi Databricks Community, I want to set environment variables for all clusters in my workspace. The goal is to the have environment variable, available in all notebooks executed on the cluster.The environment variable is generated in global init scrip...

  • 10620 Views
  • 6 replies
  • 7 kudos
Latest Reply
grazie
Contributor
  • 7 kudos

Thanks @Lukasz Lu​ - that worked for me as well. When I used the following script:#!/bin/bash echo MY_TEST_VAR=value1 | tee -a /etc/environment >> /databricks/spark/conf/spark-env.shfor non-docker clusters, MY_TEST_VAR shows up twice in ` /databrick...

  • 7 kudos
5 More Replies
Sujitha
by Community Manager
  • 505 Views
  • 1 replies
  • 0 kudos

Weekly Release Notes Recap Here’s a quick recap of the latest release notes updates from the past one week. Databricks platform release notesJanuary 1...

Weekly Release Notes RecapHere’s a quick recap of the latest release notes updates from the past one week.Databricks platform release notesJanuary 13 - 19, 2023Cluster policies now support limiting the max number of clusters per userYou can now use c...

  • 505 Views
  • 1 replies
  • 0 kudos
Latest Reply
Aviral-Bhardwaj
Esteemed Contributor III
  • 0 kudos

thanks for the details

  • 0 kudos
rubenteixeira
by New Contributor III
  • 2259 Views
  • 4 replies
  • 1 kudos

Permission denied: Lightning Logs

I'm doing parameter tuning for a NeuralProphet model (you can see in the image the parameters and code for training)When I try to parallelize the training, it gives me Permission Error.Why can't I access the folder '/databricks/spark/work/*'? Do I ne...

altri1 MicrosoftTeams-image
  • 2259 Views
  • 4 replies
  • 1 kudos
Latest Reply
Debayan
Esteemed Contributor III
  • 1 kudos

Hi, Could you please check on cluster-level permissions and let us know if it helps? Please refer: https://docs.databricks.com/security/access-control/cluster-acl.html#cluster-level-permissions

  • 1 kudos
3 More Replies
mhansinger
by New Contributor II
  • 1061 Views
  • 4 replies
  • 2 kudos

Cannot write Feature Table because of invalid access token

From a notebook I created a new feature store via:%sql CREATE DATABASE IF NOT EXISTS feature_store_ebp;Within that feature store I fill my table with:feature_store_name = "feature_store_ebp.table_1" try: fs.write_table( name=feature_stor...

  • 1061 Views
  • 4 replies
  • 2 kudos
Latest Reply
Cami
Contributor III
  • 2 kudos

What kind of runtime machine (version) do you use to run this code?

  • 2 kudos
3 More Replies
CK
by New Contributor II
  • 662 Views
  • 2 replies
  • 0 kudos

I need to access the json file in the github repo from the databricks notebookI have a repo integrated with Databricks workspace.  When I run %sh pwd ...

I need to access the json file in the github repo from the databricks notebookI have a repo integrated with Databricks workspace. When I run %sh pwd it returns this path /Workspace/Repos/chris@myemail/Repo/folder/test.json. I'm not able to access the...

  • 662 Views
  • 2 replies
  • 0 kudos
Latest Reply
CK
New Contributor II
  • 0 kudos

It works! Thank you, SRK!

  • 0 kudos
1 More Replies
llvu
by New Contributor III
  • 1437 Views
  • 4 replies
  • 2 kudos

How to solve cluster break down due to GC when training a pyspark.ml Random Forest

I am trying to train and optimize a random forest. At first the cluster handles the garbage collection fine, but after a couple of hours the cluster breaks down as Garbage Collection has gone up significantly.The train_df has a size of 6,365,018 reco...

  • 1437 Views
  • 4 replies
  • 2 kudos
Latest Reply
Kaniz
Community Manager
  • 2 kudos

Hi @Liselotte van Unen​(Customer)​ , We haven’t heard from you since the last response from @Hubert Dudek​, and I was checking back to see if his suggestions helped you.Or else, If you have any solution, please do share that with the community as it ...

  • 2 kudos
3 More Replies
Rajib_Kumar_De
by New Contributor II
  • 1201 Views
  • 4 replies
  • 3 kudos

Databricks AutoML (Forecasting) Python SDK for Model Serving

I am using Databricks AutoML ( Python SDK) to forecast bed occupancy. (Actually, Databricks used MLflow experiments for AutoML run). After training with different iterations, I registered the best model in the Databricks Model registry. Now I am tryi...

  • 1201 Views
  • 4 replies
  • 3 kudos
Latest Reply
Kaniz
Community Manager
  • 3 kudos

Hi @Rajib Kumar De​(Customer)​ , We haven’t heard from you since the last response from @Debayan Mukherjee​ â€‹ ​, and I was checking back to see if his suggestions helped you. Or else, If you have any solution, please do share that with the community ...

  • 3 kudos
3 More Replies
g96g
by New Contributor III
  • 675 Views
  • 2 replies
  • 1 kudos

Permission errors.

I have some permission erros when I want to modify some sql queries in SQL module. We are two colleauge working on one project so we build da data model. Sometimes we need to correct each other and access the SQL code but unfortunelty we dont have a...

image
  • 675 Views
  • 2 replies
  • 1 kudos
Latest Reply
Kaniz
Community Manager
  • 1 kudos

Hi @Givi Salu​​, We haven’t heard from you since the last response from @Aviral Bhardwaj​, and I was checking back to see if his suggestions helped you. Or else, If you have any solution, please do share that with the community as it can be helpful t...

  • 1 kudos
1 More Replies
Vicky1215
by New Contributor II
  • 3562 Views
  • 7 replies
  • 2 kudos

Solution for - "PythonException: 'ModuleNotFoundError: No module named 'spacy'

I am actually trying to extract the adjective and noun phrases from the text column in spark data frame for which I've written the udf and applying on cleaned text column. However, I am getting this error.from pyspark.sql.functions import udffrom pys...

  • 3562 Views
  • 7 replies
  • 2 kudos
Latest Reply
Kaniz
Community Manager
  • 2 kudos

Hi @Aditya Singh​(Customer)​ , We haven’t heard from you on the last response from @Aviral Bhardwaj​ â€‹ and @sherbin w​​, and I was checking back to see if their suggestions helped you. Or else, If you have any solution, please do share that with the ...

  • 2 kudos
6 More Replies
KVNARK
by Honored Contributor II
  • 730 Views
  • 2 replies
  • 4 kudos

Implementation of best practices in authorization to a service application

we are working on authentication mechanism for our model service application using python framework fastAPI deployed on azure cloud, Need help on end to end auth mechanism(either through inbuild mechanism in python like jwt etc., or with azure).kindl...

  • 730 Views
  • 2 replies
  • 4 kudos
Latest Reply
Debayan
Esteemed Contributor III
  • 4 kudos

Could you please explain it a little more?For authentication, please refer: https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/authenticationhttps://learn.microsoft.com/en-us/azure/databricks/security/security-overview-azure#--au...

  • 4 kudos
1 More Replies
Mrinmoy207
by New Contributor II
  • 872 Views
  • 2 replies
  • 2 kudos

Number of epochs/epoch loss widget not visible while training the model

I am training a N-BEATS forecasting model using darts library. After I define all my hyper parameters and execute the code to fit my model and have set the ''verbose'' parameter to true according to the documentation to show the progress of the train...

fit() image image
  • 872 Views
  • 2 replies
  • 2 kudos
Latest Reply
LandanG
Honored Contributor
  • 2 kudos

Hi @Mrinmoy Gupta​, what happens when you detach the notebook from the cluster (and optionally clear the state) and then rerun the code? I've seen this happen once and it was a solved by re-running the code

  • 2 kudos
1 More Replies
Ela
by New Contributor III
  • 5169 Views
  • 8 replies
  • 0 kudos

Resolved! Inheritance model in Unity Catalog is not working as per documentation.

As per the documentation "Securable objects in Unity Catalog are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog". Executed following statement "GRANT SELECT ON CATALOG uc...

  • 5169 Views
  • 8 replies
  • 0 kudos
Latest Reply
Debayan
Esteemed Contributor III
  • 0 kudos

Hi, Both permissions have to be granted.

  • 0 kudos
7 More Replies
espenol
by New Contributor III
  • 796 Views
  • 1 replies
  • 0 kudos

Why is mounting storage no longer considered best practice?

As the title describes. I think it's really nice to work with mounted storage, but I've typically had an IaC team take care of setting it up. Now I'm not that lucky. Why is it no longer best practice? Security reasons?

  • 796 Views
  • 1 replies
  • 0 kudos
Latest Reply
xiangzhu
Contributor
  • 0 kudos

I think so, mount is like a local storage, other users in the same workspace will have the access to any mounted storage too.Access Azure Data Lake Storage Gen2 and Blob Storage | Databricks on AWS

  • 0 kudos
jsu999
by New Contributor II
  • 3031 Views
  • 4 replies
  • 0 kudos

How to fix "WARNING mlflow.utils.environment" when run mlflow in Databricks?

I'm running the following python code from one of the databricks training materials. import mlflow import mlflow.spark from pyspark.ml.regression import LinearRegression from pyspark.ml.feature import VectorAssembler from pyspark.ml import Pipeline f...

  • 3031 Views
  • 4 replies
  • 0 kudos
Latest Reply
Fed
New Contributor III
  • 0 kudos

I've encountered the same warning when running this notebook from DA.https://github.com/databricks-academy/scalable-machine-learning-with-apache-spark-english/blob/published/ML%2002%20-%20Linear%20Regression%20I.pyI've managed to get rid of that war...

  • 0 kudos
3 More Replies
820409
by New Contributor II
  • 624 Views
  • 2 replies
  • 3 kudos

Resolved! Can i change the Managed Mlflow to work with a postgresql server?

We are using the managed mlflow, but we want to access the metadata of the models and show it in another application. There is already a server that I can query?Can I re-create/configure the databricks workspace to make the managed mlflow use a post...

  • 624 Views
  • 2 replies
  • 3 kudos
Latest Reply
Hubert-Dudek
Esteemed Contributor III
  • 3 kudos

Ideas which I have is:periodically export/import mlflow models and experiments https://github.com/mlflow/mlflow-export-import#why-use-mlflow-export-importget metadata through API https://docs.databricks.com/dev-tools/api/latest/mlflow.html#operation/...

  • 3 kudos
1 More Replies
Labels