Github user squito commented on a diff in the pull request: https://github.com/apache/spark/pull/15505#discussion_r96082369 --- Diff: core/src/test/scala/org/apache/spark/scheduler/CoarseGrainedSchedulerBackendSuite.scala --- @@ -17,11 +17,37 @@ package org.apache.spark.scheduler -import org.apache.spark.{LocalSparkContext, SparkConf, SparkContext, SparkException, SparkFunSuite} +import java.io.{IOException, NotSerializableException, ObjectInputStream, ObjectOutputStream} + +import org.apache.spark._ +import org.apache.spark.rdd.RDD import org.apache.spark.util.{RpcUtils, SerializableBuffer} -class CoarseGrainedSchedulerBackendSuite extends SparkFunSuite with LocalSparkContext { +class NotSerializablePartitionRDD( + sc: SparkContext, + numPartitions: Int) extends RDD[(Int, Int)](sc, Nil) with Serializable { --- End diff -- nit: double indent params
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org