Skip to content

Commit df47265

Browse files
committed
Fix binary incompatibility
1 parent 6d05a81 commit df47265

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

project/MimaExcludes.scala

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,30 @@ object MimaExcludes {
5353
"org.apache.spark.api.java.JavaRDDLike.countApproxDistinct$default$1"),
5454
ProblemFilters.exclude[MissingMethodProblem](
5555
"org.apache.spark.api.java.JavaDoubleRDD.countApproxDistinct$default$1"),
56+
ProblemFilters.exclude[MissingMethodProblem](
57+
"org.apache.spark.api.java.JavaRDDLike.partitions"),
5658
ProblemFilters.exclude[MissingMethodProblem](
5759
"org.apache.spark.storage.MemoryStore.Entry"),
5860
ProblemFilters.exclude[MissingMethodProblem](
59-
"org.apache.spark.rdd.PairRDDFunctions.org$apache$spark$rdd$PairRDDFunctions$$"
60-
+ "createZero$1")
61-
) ++
62-
Seq( // Ignore some private methods in ALS.
61+
"org.apache.spark.rdd.PairRDDFunctions." +
62+
"org$apache$spark$rdd$PairRDDFunctions$$createZero$1"),
63+
// The BlockStore interface now uses Arrays instead of ArrayBuffers
64+
ProblemFilters.exclude[IncompatibleMethTypeProblem](
65+
"org.apache.spark.storage.MemoryStore.putValues"),
66+
ProblemFilters.exclude[IncompatibleMethTypeProblem](
67+
"org.apache.spark.storage.DiskStore.putValues"),
68+
ProblemFilters.exclude[IncompatibleMethTypeProblem](
69+
"org.apache.spark.storage.TachyonSTore.putValues"),
70+
// Ignore some private methods in ALS.
71+
ProblemFilters.exclude[MissingMethodProblem](
72+
"org.apache.spark.mllib.recommendation.ALS." +
73+
"org$apache$spark$mllib$recommendation$ALS$^dateFeatures"),
74+
// The only public constructor is the one without arguments.
6375
ProblemFilters.exclude[MissingMethodProblem](
64-
"org.apache.spark.mllib.recommendation.ALS.org$apache$spark$mllib$recommendation$ALS$^dateFeatures"),
65-
ProblemFilters.exclude[MissingMethodProblem]( // The only public constructor is the one without arguments.
6676
"org.apache.spark.mllib.recommendation.ALS.this"),
6777
ProblemFilters.exclude[MissingMethodProblem](
68-
"org.apache.spark.mllib.recommendation.ALS.org$apache$spark$mllib$recommendation$ALS$$<init>$default$7")
78+
"org.apache.spark.mllib.recommendation.ALS." +
79+
"org$apache$spark$mllib$recommendation$ALS$$<init>$default$7")
6980
) ++
7081
MimaBuild.excludeSparkClass("rdd.ZippedRDD") ++
7182
MimaBuild.excludeSparkClass("rdd.ZippedPartition") ++

0 commit comments

Comments
 (0)