From 692c74840bc53debbb842db5372702f58207412c Mon Sep 17 00:00:00 2001 From: Michael Armbrust Date: Thu, 7 Apr 2016 18:05:54 -0700 Subject: [SPARK-14449][SQL] SparkContext should use SparkListenerInterface Currently all `SparkFirehoseListener` implementations are broken since we expect listeners to extend `SparkListener`, while the fire hose only extends `SparkListenerInterface`. This changes the addListener function and the config based injection to use the interface instead. The existing tests in SparkListenerSuite are improved such that they would have caught this. Follow-up to #12142 Author: Michael Armbrust Closes #12227 from marmbrus/fixListener. --- project/MimaExcludes.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'project') diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index d916c49a6a..fbadc563b8 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -68,6 +68,7 @@ object MimaExcludes { ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.SparkContext.emptyRDD"), ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.broadcast.HttpBroadcastFactory"), // SPARK-14358 SparkListener from trait to abstract class + ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.SparkContext.addSparkListener"), ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.JavaSparkListener"), ProblemFilters.exclude[MissingTypesProblem]("org.apache.spark.SparkFirehoseListener"), ProblemFilters.exclude[IncompatibleTemplateDefProblem]("org.apache.spark.scheduler.SparkListener"), -- cgit v1.2.3