Reputation: 43
When I try to include GraphX into my work, it seems I'm doing something wrong because Scala IDE doesn't recognize org.apache.spark.graphx._
or anything related to graphs (!)
Did I miss something when I first created my project? Do I need to include additional libraries (how?)?
Upvotes: 1
Views: 458
Reputation: 13927
There is now a --packages
option for the Spark shell. You use it like this:
spark-shell --packages [maven:coordinates:here]
Upvotes: 0
Reputation: 3183
You need to add the GraphX dependency to your pom file.
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-graphx_2.10</artifactId>
<version>1.6.1</version>
</dependency>
Upvotes: 2