โ12-19-2024 06:54 AM
I have been using mlflow with Databricks community edition for 3 months without any issue. However, today when I tried to login to the mlflow host (https://community.cloud.databricks.com/), using this code, I keep getting the error below.
# Setup MLflow
mlflow.login() # host: https://community.cloud.databricks.com/
mlflow.set_tracking_uri("databricks")
mlflow.set_experiment("/test")
`mlflow.login()` failed with error: Failed to validate databricks credentials: Basic Authentication is disabled for your user.
I am using Databricks Community Edition for personal experiments; however, I am no longer able to use it now. Is there any other way I can access Databricks Community Edition for mlflow now, without basic authentication (username/ password)?
โ12-19-2024 07:20 AM
I can see the following steps in docs, have you tried those approaches too: https://docs.databricks.com/en/mlflow/access-hosted-tracking-server.html#step-1-configure-your-envir...
Indeed as basic authentication has been deprecated this might affect your community edition set up as PAT tokens are also not available in CE, let me check with the internal teams if this means mlflow is no longer supported on CE and will get back to you
โ12-19-2024 07:37 AM
Thank you for your prompt response @Walter_C. I tried the recommended steps given in the shared reference (for Community Edition), and due to basic authentication being deprecated, I am no longer able to login successfully.
โ12-19-2024 08:08 AM
Got it, thanks for reviewing, i will make you aware as soon as I have response from my team.
โ12-30-2024 06:28 AM
Hi @Walter_C, any update on this? Please let us know if this feature is no longer provided in Databricks CE.
โ12-30-2024 06:31 AM
Hello, I really apologize for the delay this is taking, I am still looking to confirm this with our internal teams
โ12-31-2024 05:36 AM
Our team has confirmed that MLflow is still supported in CE, and OAuth should work, so you could try using similar step of using PAT token listed in the doc I shared above, but the token you need to use needs to be generated by using steps in https://docs.databricks.com/en/dev-tools/auth/oauth-u2m.html
โ01-03-2025 06:13 AM
Have you been able to test it by using the Oauth as authenticator process?
โ01-03-2025 09:46 PM
Thank you for the update. It seems the provided reference https://docs.databricks.com/en/dev-tools/auth/oauth-u2m.html discusses authenticating access to the Databricks Platform (not the Databricks CE), where we need an Account ID to proceed with the authentication process. In Databricks CE, I am unable to find the Account ID attribute. I have also tried to manually generate the workspace-level access token as mentioned in the above reference, but still I am unable to generate the access token. Appreciate if you could share a reference code I could use with Databricks CE for the authentication process.
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