diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-12-04 13:05:07 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-12-04 13:05:07 -0800 |
commit | d64806b37373c5cc4fd158a9f5005743bd00bf28 (patch) | |
tree | 0a8a8ad098d77e432faaa2098f9727454575086a | |
parent | 302d68de87dbaf1974accf49de26fc01fc0eb089 (diff) | |
download | spark-d64806b37373c5cc4fd158a9f5005743bd00bf28.tar.gz spark-d64806b37373c5cc4fd158a9f5005743bd00bf28.tar.bz2 spark-d64806b37373c5cc4fd158a9f5005743bd00bf28.zip |
[SPARK-11314][BUILD][HOTFIX] Add exclusion for moved YARN classes.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #10147 from vanzin/SPARK-11314.
-rw-r--r-- | project/MimaExcludes.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index d3a3c0ceb6..b4aa6adc3c 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -159,7 +159,10 @@ object MimaExcludes { // SPARK-3580 Add getNumPartitions method to JavaRDD ProblemFilters.exclude[MissingMethodProblem]( "org.apache.spark.api.java.JavaRDDLike.getNumPartitions") - ) + ) ++ + // SPARK-11314: YARN backend moved to yarn sub-module and MiMA complains even though it's a + // private class. + MimaBuild.excludeSparkClass("scheduler.cluster.YarnSchedulerBackend$YarnSchedulerEndpoint") case v if v.startsWith("1.5") => Seq( MimaBuild.excludeSparkPackage("network"), |