From ff28e49d990577635fa148bd57461a387bd3466d Mon Sep 17 00:00:00 2001 From: Josh Rosen Date: Fri, 10 Oct 2014 22:32:57 -0700 Subject: [PATCH] Add MiMa excludes and fix a scalastyle error. --- .../main/scala/org/apache/spark/FutureAction.scala | 2 +- project/MimaExcludes.scala | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/core/src/main/scala/org/apache/spark/FutureAction.scala b/core/src/main/scala/org/apache/spark/FutureAction.scala index 005f049c28880..80ce2093cacdd 100644 --- a/core/src/main/scala/org/apache/spark/FutureAction.scala +++ b/core/src/main/scala/org/apache/spark/FutureAction.scala @@ -325,4 +325,4 @@ class JavaFutureActionWrapper[S, T](futureAction: FutureAction[S], converter: S } } -} \ No newline at end of file +} diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index d499302124461..e164dd8d332e0 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -51,6 +51,19 @@ object MimaExcludes { // MapStatus should be private[spark] ProblemFilters.exclude[IncompatibleTemplateDefProblem]( "org.apache.spark.scheduler.MapStatus") + ) ++ + Seq( + // Adding new methods to the JavaRDDLike trait: + ProblemFilters.exclude[MissingMethodProblem]( + "org.apache.spark.api.java.JavaRDDLike.takeAsync"), + ProblemFilters.exclude[MissingMethodProblem]( + "org.apache.spark.api.java.JavaRDDLike.foreachPartitionAsync"), + ProblemFilters.exclude[MissingMethodProblem]( + "org.apache.spark.api.java.JavaRDDLike.countAsync"), + ProblemFilters.exclude[MissingMethodProblem]( + "org.apache.spark.api.java.JavaRDDLike.foreachAsync"), + ProblemFilters.exclude[MissingMethodProblem]( + "org.apache.spark.api.java.JavaRDDLike.collectAsync") ) case v if v.startsWith("1.1") =>