Well, you could run the driver in several ways, like using IDEA run, or using sbt run, the spark-shell, or even the run-example script, so long as you give the driver the right args. Here is an example using run-example script:
# in spark-0.9.0 home dir, the first arg is your master, the second is app name, and last arg is the file used. $ bin/run-example org.apache.spark.graphx.lib.Analytics local triangles graphx/data/followers.txt Hope this will be helpful. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/TriangleCount-Shortest-Path-under-Spark-tp2439p2635.html Sent from the Apache Spark User List mailing list archive at Nabble.com.