You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/12/22 07:40:58 UTC

[jira] [Assigned] (SPARK-18975) Add an API to remove SparkListener from SparkContext

     [ https://issues.apache.org/jira/browse/SPARK-18975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-18975:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org