Skip to content
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

[ISSUE] Single node cluster not working in version 0.3.2 #586

Closed
JCZuurmond opened this issue Apr 7, 2021 · 2 comments
Closed

[ISSUE] Single node cluster not working in version 0.3.2 #586

JCZuurmond opened this issue Apr 7, 2021 · 2 comments

Comments

@JCZuurmond
Copy link
Contributor

Hi there,

With version 0.3.2 a single node cluster fails to be created:

Error: NumWorkers could be 0 only for SingleNode clusters. See https://docs.databricks.com/clusters/single-node.html for more details

When fixing the version to 0.3.1 the apply does not fail.

Affected Resource(s)

  • databricks_cluster

Terraform Configuration Files

resource "databricks_cluster" "single_node" {
  cluster_name                    = "single-node"
  spark_version                   = data.databricks_spark_version.latest.id
  node_type_id                   = data.databricks_node_type.smallest.id
  autotermination_minutes = 10
  num_workers                    = 0

  spark_conf = {
    "spark.master": "local[*]",
    "spark.databricks.cluster.profile": "singleNode"
  }
}

My hunch is that it has something to do with PR #571. Maybe @alexott could help us here.

@nfx
Copy link
Contributor

nfx commented Apr 7, 2021

I think you're missing custom_tags. Please check documentation

@JCZuurmond
Copy link
Contributor Author

Awesome! Thanks for your quick reply, it did the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants