spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanzin <>
Subject [GitHub] spark pull request #18253: [SPARK-18838][CORE] Introduce multiple queues in ...
Date Wed, 02 Aug 2017 00:06:48 GMT
Github user vanzin commented on a diff in the pull request:
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -2379,8 +2382,13 @@ class SparkContext(config: SparkConf) extends Logging {
                     " parameter from breaking Spark's ability to find a valid constructor.")
    -        listenerBus.addListener(listener)
    -        logInfo(s"Registered listener $className")
    +        logInfo(s"listener $className created")
    +        listener
    +      }
    +      if (extraListeners.nonEmpty) {
    +        val group = new FixGroupOfListener(extraListeners, "extraListeners")
    --- End diff --
    > First, I think that modifying the existing addListener method is a bad idea. It will
impact a lot the code.
    That's why overloaded methods exist.
    > But I have 2 kind of group of listeners
    I don't think there's really a distinction between the two types of groups you mention.
The "UI group" is just a modifiable group that you don't modify after it's been created.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message