Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2024 03:22 AM
Hi ,
Do You want to use dbfs location on purpose, or You want to upload the training notebooks to Workspace/users location? The reason I'm asking is those are two different locations, although both are related to file management in Databricks. (see: https://docs.databricks.com/en/files/index.html)
If You want to import directory to Workspace/users, one way to go would be using databricks cli.
It is a simple rest api wrapper, so it is easier to handle.
Steps would be to:
- Install databricks cli – You can use legacy version using pip install databricks-cli or download latest version using manual provided here: https://docs.databricks.com/en/dev-tools/cli/install.html
- Configure the connection settings using databricks configure – easiest way would be to provide host and access token
- Use databricks workspace import_dir command to import directory from Your local maschine to Workspace/users locations.
Hope that helps 😊
Best,
Rado.