Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requirements for databricks cli authentication #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gyg-martin-jewell
Copy link

Description

Added the updated requirements for authentication. Someone had a problem following the setup form the README.md as it didn't mention anything about the hostname being required for the databricks-cli

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed

Added to documentation?

  • 👍 README.md
  • 👍 CHANGELOG.md
  • 👍 Additional documentation in /docs
  • 👍 Relevant code documentation
  • 🙅 no, because they aren’t needed

@gyg-martin-jewell gyg-martin-jewell requested a review from a team as a code owner November 1, 2022 10:17
@@ -20,10 +20,11 @@ Please sure your python interpreter is 3.7 or higher.

## Setup

Make sure you have a databricks token exported in your environment.
You will need to authenticate with databricks. Under the hood we use the databricks cli, for more information you can view how to authenticate the databricks cli [here](https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication). Make sure you have the following databricks tokens exported in your environment.
Copy link
Contributor

@steven-mi steven-mi Nov 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the concrete steps should be to use databricks configure --token. I would also codify this and run databricks fs ls to see if someone setup this correctly. If not, then lets send an error message

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steven-mi how can I automate the export of databricks token in my environment. It seems to me that every time that I restart the environment , I need to export token and host again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants