PAT needed but not allowed in "Advanced Data Engineering - 6.5L Deploy pipeline with the CLI Lab"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-20-2024 06:53 PM
It is stated in the lab notebook that:
Run the setup
Run the setup script for this lesson by running the cell below. This will ensure that:
- The Databricks CLI is installed
- Authentication is configured
- A pipeline is created
However, when I tried to run the pipeline from web terminal, it says: "Error: cannot load Databricks config file: no configuration file found at /root/.databrickscfg; please create one first".
When I tried to install CLI and configure it, I will need personal token, which is disabled for our Databricks Academy user...
Please advise,
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-21-2024 06:03 AM
You can try by using the Oauth token for User to Machine, you can follow the steps in https://docs.databricks.com/en/dev-tools/cli/authentication.html#oauth-user-to-machine-u2m-authentic...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-21-2024 03:43 PM
Thanks Walter for the quick response!
When I followed the instructions, I got error message when clicking on the link generated in step 2 as:
This dbc-c50de945-b335.cloud.databricks.com page canโt be found
No webpage was found for the web address: https://dbc-c50de945-b335.cloud.databricks.com/oidc/accounts/labuser8235016_1732229099@vocareum.com/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-21-2024 04:02 PM
... and if I start with step 5, using workspace-level authorisation, I ended up with "localhost refused to connect." in the generated link.

