You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/01/27 01:29:34 UTC
[jira] [Created] (SPARK-5414) Add SparkListener implementation that
allows users to receive all listener events in one method
Josh Rosen created SPARK-5414:
---------------------------------
Summary: Add SparkListener implementation that allows users to receive all listener events in one method
Key: SPARK-5414
URL: https://issues.apache.org/jira/browse/SPARK-5414
Project: Spark
Issue Type: New Feature
Reporter: Josh Rosen
Assignee: Josh Rosen
Currently, users don't have a very good way to write a SparkListener that receives all SparkListener events and which will be future-compatible (e.g. it will receive events introduced in newer versions of Spark without having to override new methods to process those events).
Therefore, I think Spark should include a concrete SparkListener implementation that implements all of the message-handling methods and dispatches all of them to a single {{onEvent}} method. By putting this code in Spark, we isolate users from changes to the listener API.
--
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