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

Accessing the ml Spark component (without importing all the mllib stuff) #32

Open
MrPowers opened this issue Mar 12, 2017 · 0 comments
Open

Comments

@MrPowers
Copy link

I'm using the latest version of the plugin and am able to get access to the ml package with this line of code:

sparkComponents ++= Seq("sql", "hive", "mllib")

I thought that this would work:

sparkComponents ++= Seq("sql", "hive", "ml")

It seems like this line of code should handle the "ml" argument just fine:

sparkComponentSet.map { component =>
  "org.apache.spark" %% s"spark-$component" % sparkVersion.value % "provided"
}.toSeq

Here's the error message I get when I use sparkComponents ++= Seq("sql", "hive", "ml"): sbt.ResolveException: unresolved dependency: org.apache.spark#spark-ml_2.11;2.1.0: not found

I don't really want to import all the "mllib" code, just the "ml" code. Thanks for the help.

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

1 participant