aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdev/mima1
-rw-r--r--project/MimaExcludes.scala2
2 files changed, 3 insertions, 0 deletions
diff --git a/dev/mima b/dev/mima
index b68800d6d0..7857294f61 100755
--- a/dev/mima
+++ b/dev/mima
@@ -18,6 +18,7 @@
#
set -o pipefail
+set -e
# Go to the Spark project root directory
FWDIR="$(cd `dirname $0`/..; pwd)"
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 042fdfcc47..af620d6160 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -36,6 +36,8 @@ object MimaExcludes {
case v if v.startsWith("1.1") =>
Seq(MimaBuild.excludeSparkPackage("graphx")) ++
Seq(
+ // Adding new method to JavaRDLike trait - we should probably mark this as a developer API.
+ ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.api.java.JavaRDDLike.partitions"),
// We made a mistake earlier (ed06500d3) in the Java API to use default parameter values
// for countApproxDistinct* functions, which does not work in Java. We later removed
// them, and use the following to tell Mima to not care about them.