[ISSUE] Unable to specify single-node job compute - kind = CLASSIC_PREVIEW not supported in job compute #881
Labels
Triaged
The issue has been reviewed. Issues without a “Triaged” label require triage/review.
Description
Hi, I am trying to use the Databricks SDK to create single-node job compute using 0.42.0.
According to the docs, you do this with a combination of is_single_node and kind in your ClusterSpec. However, when I pass
is_single_node=True
andkind=Kind.CLASSIC_PREVIEW
(Kind options are not well documented by the way, or rather there appears to be only one option), it returns:databricks.sdk.errors.platform.InvalidParameterValue: Invalid compute kind CLASSIC_PREVIEW not supported in job compute.
So if
CLASSIC_PREVIEW
is not supported in job compute, and I need to pass this value in order to useis_single_node
, then therefore single-node compute appears not to be supported in the jobs API at this point.Reproduction
Expected behavior
The job gets created with single-node compute.
Is it a regression?
Not that I know of... this appears to be a newer feature.
Debug Logs
Other Information
Additional context
If I remove the
kind
argument, the error becomes:databricks.sdk.errors.platform.InvalidParameterValue: Cluster validation error: is_single_node is not allowed with unspecified kind.
The text was updated successfully, but these errors were encountered: