aboutsummaryrefslogtreecommitdiff
path: root/docs/css
diff options
context:
space:
mode:
authorzsxwing <zsxwing@gmail.com>2015-05-05 15:04:14 +0100
committerSean Owen <sowen@cloudera.com>2015-05-05 15:05:34 +0100
commit6f35dac50067e2ab3cf59202c7b3f46ad23a108b (patch)
tree4ebcc2f8bc702ca520fd75c1882f7d20f890b6d2 /docs/css
parentd28832299a12bc6f30df765294770a4da3bf2e07 (diff)
downloadspark-6f35dac50067e2ab3cf59202c7b3f46ad23a108b.tar.gz
spark-6f35dac50067e2ab3cf59202c7b3f46ad23a108b.tar.bz2
spark-6f35dac50067e2ab3cf59202c7b3f46ad23a108b.zip
[SPARK-5074] [CORE] [TESTS] Fix the flakey test 'run shuffle with map stage failure' in DAGSchedulerSuite
Test failure: https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/AMPLAB_JENKINS_BUILD_PROFILE=hadoop2.2,label=centos/2240/testReport/junit/org.apache.spark.scheduler/DAGSchedulerSuite/run_shuffle_with_map_stage_failure/ This is because many tests share the same `JobListener`. Because after each test, `scheduler` isn't stopped. So actually it's still running. When running the test `run shuffle with map stage failure`, some previous test may trigger [ResubmitFailedStages](https://github.com/apache/spark/blob/ebc25a4ddfe07a67668217cec59893bc3b8cf730/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L1120) logic, and report `jobFailed` and override the global `failure` variable. This PR uses `after` to call `scheduler.stop()` for each test. Author: zsxwing <zsxwing@gmail.com> Closes #5903 from zsxwing/SPARK-5074 and squashes the following commits: 1e6f13e [zsxwing] Fix the flakey test 'run shuffle with map stage failure' in DAGSchedulerSuite (cherry picked from commit 5ffc73e68b3a6ea30c25931e9e0495a4c7e5654c) Signed-off-by: Sean Owen <sowen@cloudera.com>
Diffstat (limited to 'docs/css')
0 files changed, 0 insertions, 0 deletions