spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject git commit: HOTFIX: Fix missing MIMA ignore
Date Sat, 21 Jun 2014 20:03:10 GMT
Repository: spark
Updated Branches:
  refs/heads/master ec935abce -> 0a432d6a0


HOTFIX: Fix missing MIMA ignore


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/0a432d6a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0a432d6a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0a432d6a

Branch: refs/heads/master
Commit: 0a432d6a05d2a8f1f8f5e6e851f5174c98a64d1d
Parents: ec935ab
Author: Patrick Wendell <pwendell@gmail.com>
Authored: Sat Jun 21 13:02:49 2014 -0700
Committer: Patrick Wendell <pwendell@gmail.com>
Committed: Sat Jun 21 13:02:49 2014 -0700

----------------------------------------------------------------------
 dev/mima                   | 1 +
 project/MimaExcludes.scala | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/0a432d6a/dev/mima
----------------------------------------------------------------------
diff --git a/dev/mima b/dev/mima
index b68800d..7857294 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)"

http://git-wip-us.apache.org/repos/asf/spark/blob/0a432d6a/project/MimaExcludes.scala
----------------------------------------------------------------------
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 042fdfc..af620d6 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.


Mime
View raw message