Skip to content

Commit ff28e49

Browse files
committed
Add MiMa excludes and fix a scalastyle error.
1 parent 346e46e commit ff28e49

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

core/src/main/scala/org/apache/spark/FutureAction.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,4 +325,4 @@ class JavaFutureActionWrapper[S, T](futureAction: FutureAction[S], converter: S
325325
}
326326
}
327327

328-
}
328+
}

project/MimaExcludes.scala

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ object MimaExcludes {
5151
// MapStatus should be private[spark]
5252
ProblemFilters.exclude[IncompatibleTemplateDefProblem](
5353
"org.apache.spark.scheduler.MapStatus")
54+
) ++
55+
Seq(
56+
// Adding new methods to the JavaRDDLike trait:
57+
ProblemFilters.exclude[MissingMethodProblem](
58+
"org.apache.spark.api.java.JavaRDDLike.takeAsync"),
59+
ProblemFilters.exclude[MissingMethodProblem](
60+
"org.apache.spark.api.java.JavaRDDLike.foreachPartitionAsync"),
61+
ProblemFilters.exclude[MissingMethodProblem](
62+
"org.apache.spark.api.java.JavaRDDLike.countAsync"),
63+
ProblemFilters.exclude[MissingMethodProblem](
64+
"org.apache.spark.api.java.JavaRDDLike.foreachAsync"),
65+
ProblemFilters.exclude[MissingMethodProblem](
66+
"org.apache.spark.api.java.JavaRDDLike.collectAsync")
5467
)
5568

5669
case v if v.startsWith("1.1") =>

0 commit comments

Comments
 (0)