GitHub user vanzin opened a pull request:
https://github.com/apache/spark/pull/19956
[SPARK-22764][core] Fix flakiness in SparkContextSuite.
Use a semaphore to synchronize the tasks with the listener code
that is trying to cancel the job or stage, so that the listener
won't try to cancel a job or stage that has already finished.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vanzin/spark SPARK-22764
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19956.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 #19956
----
commit 8b9d01e37dd22167ac9c7ca53ecb153ee5f274da
Author: Marcelo Vanzin <[email protected]>
Date: 2017-12-12T22:13:38Z
[SPARK-22764][core] Fix flakiness in SparkContextSuite.
Use a semaphore to synchronize the tasks with the listener code
that is trying to cancel the job or stage, so that the listener
won't try to cancel a job or stage that has already finished.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]