To get that function in scope you have to import org.apache.spark.SparkContext._
Ankur On Wednesday, December 3, 2014, Deep Pradhan <pradhandeep1...@gmail.com> wrote: > But groupByKey() gives me the error saying that it is not a member of > org.apache.spark,rdd,RDD[(Double, org.apache.spark.graphx.VertexId)] > -- Ankur <http://www.ankurdave.com/>