GitHub user xuanyuanking opened a pull request:

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

    [SPARK-21560][Core] Add hold mode for the LiveListenerBus

    ## What changes were proposed in this pull request?
    1. Add config for hold strategy and the idle capacity.
    2. Hold the post method while event queue is full.
    3. Notify all holding thread while event queue empty rate lager than the 
configuration.
    
    ## How was this patch tested?
    
    Add a new test in SparkListenerSuite

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

    $ git pull https://github.com/xuanyuanking/spark SPARK-21560

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

    https://github.com/apache/spark/pull/18760.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 #18760
    
----
commit 5e9a4b4feec38e132f2e9c4053be22ca6926e932
Author: Yuanjian Li <[email protected]>
Date:   2017-07-28T13:25:31Z

    SPARK-21560: Add hold mode for the LiveListenerBus

----


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