Skip to content

Commit

Permalink
Fix MiMa excludes for ShuffleWriter change
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed May 10, 2015
1 parent fd4bb9e commit 9d1ee7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ private void open() throws IOException {
sparkConf);
serArray = new byte[SER_BUFFER_SIZE];
serByteBuffer = ByteBuffer.wrap(serArray);
// TODO: we should not depend on this class from Kryo; copy its source or find an alternative
serOutputStream = serializer.serializeStream(new ByteBufferOutputStream(serByteBuffer));
}

Expand Down
6 changes: 6 additions & 0 deletions project/MimaExcludes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ object MimaExcludes {
"org.apache.spark.sql.parquet.ParquetTestData$"),
ProblemFilters.exclude[MissingClassProblem](
"org.apache.spark.sql.parquet.TestGroupWriteSupport")
) ++ Seq(
// SPARK-7081 changed ShuffleWriter from a trait to an abstract class and removed some
// unnecessary type bounds in order to fix some compiler warnings that occurred when
// implementing this interface in Java. Note that ShuffleWriter is private[spark].
ProblemFilters.exclude[IncompatibleTemplateDefProblem](
"org.apache.spark.shuffle.ShuffleWriter")
)

case v if v.startsWith("1.3") =>
Expand Down

0 comments on commit 9d1ee7c

Please sign in to comment.