Juan Luis
02/14/2025, 6:05 PMkedro databricks init
i see that conf/base/databricks.yml
is created but iris/databricks.yml
(the asset bundle definition) is not created. so then when i call kedro databricks deploy
i get this error
FileNotFoundError:
No `databricks.yml` file found. Maybe you forgot to initialize the Databricks bundle?
You can initialize the Databricks bundle by running:
kedro databricks init
``````
i can confirm i'm connected via the databricks CLI. any thoughts here?
Thread in Slack conversationJuan Luis
02/14/2025, 6:06 PMkedro databricks init
command? cc @Jens Peder MeldgaardNik Linnane
02/14/2025, 6:08 PMkedro databricks init
2025-02-14 13:06:43,963 - kedro.framework.project - INFO - Using 'conf/logging.yml' as logging configuration. You can change this by setting the KEDRO_LOGGING_CONFIG environment variable accordingly.
Please select your cloud provider:
1. Azure
2. AWS
3. GCP
[1]: 2
2025-02-14 13:06:56,964 - Command - ERROR - Creating databricks configuration: Usage: databricks [OPTIONS] COMMAND [ARGS]...
2025-02-14 13:06:56,964 - Command - ERROR - Creating databricks configuration: Try 'databricks -h' for help.
2025-02-14 13:06:56,964 - Command - WARNING - Creating databricks configuration (['databricks', 'bundle', 'init', '/var/folders/9k/g9p7q1wn1772b8bwrjt7wv3r0000gn/T/tmp3fd7uxxu', '--config-file', '/var/folders/9k/g9p7q1wn1772b8bwrjt7wv3r0000gn/T/tmp4vv7us71', '--output-dir', '/Users/Nik_Linnane/Desktop/databricks_test/iris']): Usage: databricks [OPTIONS] COMMAND [ARGS]...
Try 'databricks -h' for help.
2025-02-14 13:06:56,964 - iris - INFO - Creating databricks configuration: Wrote databricks.yml
2025-02-14 13:06:56,966 - iris - WARNING - Creating bundle override configuration: conf/base/databricks.yml already exists.
2025-02-14 13:06:56,966 - iris - INFO - Substituting DBFS paths: Checking conf/local/catalog.yml
2025-02-14 13:06:56,966 - iris - WARNING - Substituting DBFS paths: conf/local/catalog.yml does not exist.
2025-02-14 13:06:56,966 - iris - INFO - Substituting DBFS paths: Checking conf/base/catalog.yml
Juan Luis
02/14/2025, 6:10 PMdatabricks bundle init
Jens Peder Meldgaard
02/14/2025, 6:16 PMNik Linnane
02/14/2025, 6:17 PMconf/base/databricks.yml
and reran kedro databricks init
kedro databricks init
2025-02-14 13:16:32,918 - kedro.framework.project - INFO - Using 'conf/logging.yml' as logging configuration. You can change this by setting the KEDRO_LOGGING_CONFIG environment variable accordingly.
Please select your cloud provider:
1. Azure
2. AWS
3. GCP
[1]: 2
2025-02-14 13:16:37,020 - Command - ERROR - Creating databricks configuration: Usage: databricks [OPTIONS] COMMAND [ARGS]...
2025-02-14 13:16:37,021 - Command - ERROR - Creating databricks configuration: Try 'databricks -h' for help.
2025-02-14 13:16:37,021 - Command - WARNING - Creating databricks configuration (['databricks', 'bundle', 'init', '/var/folders/9k/g9p7q1wn1772b8bwrjt7wv3r0000gn/T/tmpe47utvp4', '--config-file', '/var/folders/9k/g9p7q1wn1772b8bwrjt7wv3r0000gn/T/tmp94vmamwc', '--output-dir', '/Users/Nik_Linnane/Desktop/databricks_test/iris']): Usage: databricks [OPTIONS] COMMAND [ARGS]...
Try 'databricks -h' for help.
2025-02-14 13:16:37,021 - iris - INFO - Creating databricks configuration: Wrote databricks.yml
2025-02-14 13:16:37,044 - iris - INFO - Creating bundle override configuration: Wrote conf/base/databricks.yml
2025-02-14 13:16:37,044 - iris - INFO - Substituting DBFS paths: Checking conf/local/catalog.yml
2025-02-14 13:16:37,045 - iris - WARNING - Substituting DBFS paths: conf/local/catalog.yml does not exist.
2025-02-14 13:16:37,045 - iris - INFO - Substituting DBFS paths: Checking conf/base/catalog.yml
Nik Linnane
02/14/2025, 6:18 PMiris/databricks.yml
Jens Peder Meldgaard
02/14/2025, 6:24 PMNik Linnane
02/14/2025, 6:25 PMdatabricks configure --token
- would that make a difference?Jens Peder Meldgaard
02/14/2025, 7:22 PMNik Linnane
02/14/2025, 8:04 PMJens Peder Meldgaard
02/15/2025, 7:49 AMJens Peder Meldgaard
02/15/2025, 8:05 AMdatabricks-cli
. Unfortunately, the kedro-databricks
plugin is heavily reliant on the databricks bundle
command group, which was introduced in their new CLI implementation.
You can find more information on how to update the Databricks CLI here: https://docs.databricks.com/en/dev-tools/cli/install.htmlJens Peder Meldgaard
02/15/2025, 8:06 AMNik Linnane
02/18/2025, 3:54 PMNik Linnane
02/20/2025, 3:41 PMkedro databricks deploy
a job is never created. i made a new issue hereJens Peder Meldgaard
02/20/2025, 3:46 PM