databricks / sbt-databricks

An sbt plugin for deploying code to Databricks Cloud
http://go.databricks.com/register-for-dbc
Other
71 stars 27 forks source link

dbcCreateCluster not a valid key #36

Closed briantd closed 7 years ago

briantd commented 8 years ago

When I try and use dbcCreateCluster, I get an error. Likewise, the required setting dbcNumWorkerContainers is not recognized. Other commands like dbcListClusters, dbcDeploy, or dbcRestartClusters work fine.

I'm using the latest version of Databricks, and have the required config installed in project/plugins.sbt (as evidenced by being able to run dbcListCluters, and dbcDeploy). --> addSbtPlugin("com.databricks" %% "sbt-databricks" % "0.1.5")

brkyvz commented 8 years ago

Hi @briantd, Can you please provide a stack trace of the error?

brkyvz commented 8 years ago

In addition, do you use a .sbt file or .scala file for your Build?

bllchmbrs commented 7 years ago

@briantd closing this out for now, please re-open if this still isn't resolved.

the-jackalope commented 7 years ago

Hi @brkyvz

I'm using sbt-databricks v0.1.5 and I have the same problem. IntelliJ wasn't picking up on a dbcCreateCluster task so I ran sbt dbcCreateCluster and I got the generic error:

[error] Not a valid command: dbcCreateCluster
[error] Not a valid key: dbcCreateCluster (similar: dbcRestartClusters, dbcFetchClusters, dbcClusters)
[error] dbcCreateCluster

Let me know if I can provide more info!