You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Arun sethia (Jira)" <ji...@apache.org> on 2019/11/15 17:37:00 UTC

[jira] [Created] (SPARK-29921) SparkContext LiveListenerBus

Arun sethia created SPARK-29921:
-----------------------------------

             Summary: SparkContext LiveListenerBus
                 Key: SPARK-29921
                 URL: https://issues.apache.org/jira/browse/SPARK-29921
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.4, 2.4.3, 2.4.1
            Reporter: Arun sethia


Hi,

 

I am not sure what is advantage of keeping listenerBus function as package level access for org.apache.spark.SparkContext. 

 

private[spark] def listenerBus: LiveListenerBus = _listenerBus

 

This limits anyone to publish any custom SparkListenerEvent to LiveListenerBus. 

 

Thanks,

Arun

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org