-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Description
I'm working on this and will submit a pull request once done, we face NoSuchMethodError problems once you try to run anything but scheduling-throughput
The fix for that is to modify spark-tests/project/SparkTestsBuild.scala - use 2.0.0-preview for org.apache.spark dependency version and Scala 2.11.8; specifically this resolves
NoSuchMethodError: org/apache/spark/SparkContext.rddToPairRDDFunctions(Lorg/apache/spark/rdd/RDD;Lscala/reflect/ClassTag;Lscala/reflect/ClassTag;Lscala/math/Ordering;)Lorg/apache/spark/rdd/PairRDDFunctions; at spark.perf.AggregateByKey.runTest(KVDataTest.scala:137)
which is triggered by
class AggregateByKey(sc: SparkContext) extends KVDataTest(sc) {
override def runTest(rdd: RDD[_], reduceTasks: Int) {
rdd.asInstanceOf[RDD[(String, String)]]
.map{case (k, v) => (k, v.toInt)}.reduceByKey(_ + _, reduceTasks).count()
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels