Open m-o-leary opened 2 days ago
Thanks for reporting the issue. I'm investigating it.
The following cluster definition works:
new_cluster:
node_type_id: i3.xlarge
num_workers: 0
spark_version: 14.3.x-scala2.12
spark_conf:
"spark.databricks.cluster.profile": "singleNode"
"spark.master": "local[*, 4]"
custom_tags:
"ResourceClass": "SingleNode"
Note the presence of "ResourceClass": "SingleNode"
.
This may be able to get you unblocked while we figure out the underlying cause of this issue.
A change in the Terraform provider (PR, released as part of v1.48.0) caused additional validation to run for job clusters. This includes a check for the ResourceClass
field under custom_tags
and that's why this error shows up if it isn't specified.
You can mitigate by including the following stanza in your job cluster definition:
custom_tags:
"ResourceClass": "SingleNode"
Meanwhile, we're figuring out if this is something we should include transparently or not.
The inclusion of the custom tag has helped resolve our issue - appreciate the support here.
I am seeing the same issue after running my ci pipeline. My job configuration has the below lines, but still seeing the issue. Can you please help?
spark_conf:
"spark.databricks.cluster.profile": "singleNode"
"spark.master": "local[*, 4]"
custom_tags:
"ResourceClass": "SingleNode"
@drelias15 Are you sure you have the indentation right?
custom_tags
needs to be at the same level as spark_conf
.
I believe the indentation is good. This snapshot is from the yml of the deployed job. One point, the spark.databricks.cluster.profile is defined in the cluster policy, so they are not defined in the workflows. Do you think that need to be present in the workflow definition?
Describe the issue
When running
databricks bundle deploy
I get the following errorPotenitally sensitive info replaced with
<internal ...>
The cluster definition at that point is:
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
v0.222.0
databricks bundle deploy
v0.221.1
Expected Behavior
Bundle should have deployed successfully
Actual Behavior
Bundle failed to deploy at the
Updating deployment state...
stepOS and CLI version
Please include the version of the CLI (eg: v0.1.2) and the operating system (eg: windows). You can run databricks --version to get the version of your Databricks CLI Databricks: v0.222.0 OS:
Is this a regression?
Yes,
v0.221.1
works as well asv0.217.0
Maybe related to https://github.com/databricks/cli/issues/592