diff options
author | Sean Owen <sowen@cloudera.com> | 2015-01-26 14:32:27 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-01-26 14:32:27 -0800 |
commit | 0497ea51ac345f8057d222a18dbbf8eae78f5b92 (patch) | |
tree | 437fcf5c97bbbb55697c40c2976af5102c3ed668 /assembly | |
parent | b38034e878546a12c6d52f17fc961fd1a2453b97 (diff) | |
download | spark-0497ea51ac345f8057d222a18dbbf8eae78f5b92.tar.gz spark-0497ea51ac345f8057d222a18dbbf8eae78f5b92.tar.bz2 spark-0497ea51ac345f8057d222a18dbbf8eae78f5b92.zip |
SPARK-960 [CORE] [TEST] JobCancellationSuite "two jobs sharing the same stage" is broken
This reenables and fixes this test, after addressing two issues:
- The Semaphore that was intended to be shared locally was being serialized and copied; it's now a static member in the companion object as in other tests
- Later changes to Spark means that cancelling the first task will not cancel the shared stage and therefore the second task should succeed
Author: Sean Owen <sowen@cloudera.com>
Closes #4180 from srowen/SPARK-960 and squashes the following commits:
43da66f [Sean Owen] Fix 'two jobs sharing the same stage' test and reenable it: truly share a Semaphore locally as intended, and update expectation of failure in non-cancelled task
Diffstat (limited to 'assembly')
0 files changed, 0 insertions, 0 deletions