GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/4210

    [SPARK-5414] Add SparkFirehoseListener class for consuming all 
SparkListener events

    Currently, users don't have a 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).
    
    To address this, this patch adds `SparkFirehoseListener`, a SparkListener 
implementation that receives all events and dispatches them to a single 
`onEvent` method (which can be overridden by users).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark firehose-listener

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4210.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4210
    
----
commit ecdfaed43a19e26feae1eee33798e727ed37852e
Author: Josh Rosen <[email protected]>
Date:   2015-01-27T00:24:53Z

    Add SparkFirehoseListener class for consuming all SparkListener events.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to