I'm using the same code <https://github.com/apache/spark/blob/83b7a1c6503adce1826fc537b4db47e534da5cae/core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala#L687>, though still receive
not enough arguments for method sortBy: (f: String => K, ascending: Boolean, numPartitions: Int)(implicit ord: Ordering[K], implicit ctag: scala.reflect.ClassTag[K])org.apache.spark.rdd.RDD[String]. Unspecified value parameter f. On Tue, Nov 4, 2014 at 11:28 AM, Josh J <joshjd...@gmail.com> wrote: > Hi, > > Does anyone have any good examples of using sortby for RDDs and scala? > > I'm receiving > > not enough arguments for method sortBy: (f: String => K, ascending: > Boolean, numPartitions: Int)(implicit ord: Ordering[K], implicit ctag: > scala.reflect.ClassTag[K])org.apache.spark.rdd.RDD[String]. > > Unspecified value parameter f. > > > I tried to follow the example in the test case > <https://github.com/apache/spark/blob/83b7a1c6503adce1826fc537b4db47e534da5cae/core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala> > by > using the same approach even same method names and parameters though no > luck. > > > Thanks, > > Josh >