Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/9297#discussion_r45096760 --- Diff: core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala --- @@ -131,6 +135,17 @@ case class SparkListenerApplicationEnd(time: Long) extends SparkListenerEvent private[spark] case class SparkListenerLogStart(sparkVersion: String) extends SparkListenerEvent /** + * Interface for registering listeners defined in other modules like SQL, which are used to + * rebuild the history UI. + */ +trait SparkListenerRegister { + /** + * Get a listener used when rebuilding the history UI. + */ + def getListener(conf: SparkConf, sparkUI: SparkUI): SparkListener --- End diff -- How about `createListeners`, and have it return a `Seq`? Just in case.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org