GitHub user uncleGen opened a pull request:

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

    Bug Fix: LiveListenerBus Queue Overflow

    As we know, the size of  "eventQueue" is fixed. When event comes faster 
than consume speed of listener, overflow events will be thrown away with 
throwing an "logQueueFullErrorMessage'. As a result, we find spark UI in 
chaotic state. In my Strategy, those overflow events are "cached" in 
"blockManager" first , and replayed by "replayThread" when "eventQueue" is 
free. The unique drawback is some display delay in Spark UI. But it is better 
than event loss. This delay will disappear when event stress alleviates.

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

    $ git pull https://github.com/uncleGen/spark master

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

    https://github.com/apache/spark/pull/1356.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 #1356
    
----
commit 52906a911b111f3848e21c3b449b76237f658051
Author: uncleGen <[email protected]>
Date:   2014-07-10T12:17:32Z

    Bug Fix: LiveListenerBus Queue Overflow

----


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

Reply via email to