GitHub user andrewor14 opened a pull request:
https://github.com/apache/spark/pull/8176
[SPARK-9948] Fix flaky AccumulatorSuite - internal accumulators
In these tests, we use a custom listener and we assert on fields in the
stage / task completion events. However, these events are posted in a separate
thread so they're not guaranteed to be posted in time. This commit fixes this
flakiness through a job end registration callback.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewor14/spark fix-accumulator-suite
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8176.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 #8176
----
commit ac59b0a819c6360c6061cf2b9d746c61e4c88751
Author: Andrew Or <[email protected]>
Date: 2015-08-13T21:28:03Z
Fix flaky use of SaveInfoListener
It was flaky because it asserts on the listener events, which are
posted in a separate thread.
----
---
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]