Saisai Shao created SPARK-18975:
-----------------------------------

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

Reply via email to