[
https://issues.apache.org/jira/browse/SPARK-18975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769375#comment-15769375
]
Apache Spark commented on SPARK-18975:
--------------------------------------
User 'jerryshao' has created a pull request for this issue:
https://github.com/apache/spark/pull/16382
> Add an API to remove SparkListener from SparkContext
> -----------------------------------------------------
>
> Key: SPARK-18975
> URL: https://issues.apache.org/jira/browse/SPARK-18975
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Reporter: Saisai Shao
> Priority: Minor
>
> In current Spark we could add customized {{SparkListener}} through
> {{SparkContext#addListener}} API, but there's no API to remove the registered
> one. In our scenario SparkListener will be added repeatedly accordingly to
> the changed environment. If lacks the ability to remove listeners, there
> might be bunch of registered listeners finally, this is unnecessary and
> potentially affect the performance. So here propose to add an API to remove
> registered listener.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]