GitHub user marmbrus opened a pull request:

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

    [SPARK-14449][SQL] SparkContext should use SparkListenerInterface

    Currently all `SparkFirehoseListener` implementations are broken since we 
expect listeners to extend `SparkListener`, while the fire hose only extends 
`SparkListenerInterface`.  This changes the addListener function and the config 
based injection to use the interface instead.
    
    The existing tests in SparkListenerSuite are improved such that they would 
have caught this.
    
    Follow-up to #12142

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

    $ git pull https://github.com/marmbrus/spark fixListener

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

    https://github.com/apache/spark/pull/12227.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 #12227
    
----
commit b40fe81a9d2cb398b412dbd296e3446a9c17148a
Author: Michael Armbrust <[email protected]>
Date:   2016-04-07T01:43:07Z

    add test

commit 2f981ba7033463e353d567c94681c83d8a19f5bb
Author: Michael Armbrust <[email protected]>
Date:   2016-04-07T01:44:21Z

    use SparkListenerInterface

commit 5ea3712234372ba3c255034056e0db684e5cdec3
Author: Michael Armbrust <[email protected]>
Date:   2016-04-07T01:52:45Z

    style

----


---
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