aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2015-12-04 13:05:07 -0800
committerJosh Rosen <joshrosen@databricks.com>2015-12-04 13:05:07 -0800
commitd64806b37373c5cc4fd158a9f5005743bd00bf28 (patch)
tree0a8a8ad098d77e432faaa2098f9727454575086a /project
parent302d68de87dbaf1974accf49de26fc01fc0eb089 (diff)
downloadspark-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.
Diffstat (limited to 'project')
-rw-r--r--project/MimaExcludes.scala5
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"),