-
Notifications
You must be signed in to change notification settings - Fork 57
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
Failed to create single node cluster using databricks asset bundle on databricks CLI v0.221.0 #1472
Comments
Thanks for reporting! We identified the same issue earlier today and are working on a fix. We're targeting a patch release of the CLI with a patched TF version tomorrow. Are you able to use v0.220.0 in the mean time? |
Yes thanks. v0.220.0 works for the time being. |
I'm running into the same issue. I don't want to hijack this thread, but I need a little help on how to do install a specific version. |
@DaveRuijter I installed the previous version v0.220.0 using curl as follows
I am not expert, but I guess you can also do something similar with Homebrew as follows
|
## Changes This includes a bugfix for provisioning jobs with `num_workers = 0`. Fixes #1472. ## Tests Manually tested this fixes the issue.
@iswariyam Many thanks for the Homebrew instructions. I wasn't aware it was possible to extract a formula at a specific version. I have updated the README at https://github.com/databricks/homebrew-tap/blob/main/README.md to include this. |
Describe the issue
I am using Databricks asset bundles to deploy my Databricks jobs which consists of dbt tasks. When I try to deploy the jobs using Databricks asset bundles, the deploy step fails with the error
Error: cannot create job: Cluster validation error: Missing required field: settings.cluster_spec.new_cluster.size
. My jobs use a single node cluster with num_workers set to 0 similar to the configuration over here. This issue only occurs in the recently released version v0.221.0 of the Databricks CLI.Configuration
Error occurs in databricks-cli version 0.221.0 but not in 0.219.0
Steps to reproduce the behavior
databricks bundle deploy
Error: cannot create job: Cluster validation error: Missing required field: settings.cluster_spec.new_cluster.size
Expected Behavior
Databricks asset bundle deployment should work for single node clusters with num_workers 0.
Actual Behavior
Creation of Databricks jobs with single node cluster (num_workers 0) fails when using v0.221.0 of the databricks CLI.
OS and CLI version
Is this a regression?
Yes, I did not experience this issue on databricks-cli version v0.219.0
Debug Logs
The text was updated successfully, but these errors were encountered: