Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 08:52 PM
It seems to be issue with relative path
source_code_path: ../src
This does not match the actual path where the source code is being deployed in the Databricks workspace (/Workspace/Users/my_user@domain.com/my_app/files/src). This mismatch could lead to the app being unable to locate the files in the expected path.
By default, deploying a Databricks Asset Bundle (DAB) might append additional directory structures like files/ depending on the bundle structure.
To fix this Review databricks.yml Configuration:
- Confirm that the
root_pathin yourdatabricks.ymlfile is consistent with how you want the app deployed. For instance, it could be necessary to append/filesto theroot_pathif thesrc/folder is being nested underfiles/during deployment.
After making the above changes, redeploy the bundle using the following command:
databricks bundle deploy -t dev