File tree 2 files changed +4
-1
lines changed
core/src/main/scala/org/apache/spark
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1248,7 +1248,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
1248
1248
}
1249
1249
1250
1250
/** Get an RDD that has no partitions or elements. */
1251
- def emptyRDD [T : ClassTag ]: EmptyRDD [T ] = new EmptyRDD [T ](this )
1251
+ def emptyRDD [T : ClassTag ]: RDD [T ] = new EmptyRDD [T ](this )
1252
1252
1253
1253
// Methods for creating shared variables
1254
1254
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ import com.typesafe.tools.mima.core.ProblemFilters._
34
34
object MimaExcludes {
35
35
def excludes (version : String ) = version match {
36
36
case v if v.startsWith(" 2.0" ) =>
37
+ Seq (
38
+ ProblemFilters .exclude[IncompatibleResultTypeProblem ](" org.apache.spark.SparkContext.emptyRDD" )
39
+ ) ++
37
40
// When 1.6 is officially released, update this exclusion list.
38
41
Seq (
39
42
MimaBuild .excludeSparkPackage(" deploy" ),
You can’t perform that action at this time.
0 commit comments