GitHub user zsxwing opened a pull request:

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

    [SPARK-8001][Core]Make AsynchronousListenerBus.waitUntilEmpty throw 
TimeoutException if timeout

    Some places forget to call `assert` to check the return value of 
`AsynchronousListenerBus.waitUntilEmpty`. Instead of adding `assert` in these 
places, I think it's better to make `AsynchronousListenerBus.waitUntilEmpty` 
throw `TimeoutException`.

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

    $ git pull https://github.com/zsxwing/spark SPARK-8001

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

    https://github.com/apache/spark/pull/6550.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 #6550
    
----
commit 607674a900bb4656a7e9b41254ae1b4e1d4913e5
Author: zsxwing <[email protected]>
Date:   2015-06-01T07:45:24Z

    Make AsynchronousListenerBus.waitUntilEmpty throw TimeoutException if 
timeout
    
    TimeoutException is a more explicit failure. In addition, the caller 
doesn't need to call `assert` now.

----


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