GitHub user zsxwing opened a pull request:
https://github.com/apache/spark/pull/14905
[SPARK-17318][Tests]Fix ReplSuite replicating blocks of object with class
defined in repl again
## What changes were proposed in this pull request?
After digging into the logs, I noticed the failure is because in this test,
it starts a local cluster with 2 executors. However, when SparkContext is
created, executors may be still not up. When one of the executor is not up
during running the job, the blocks won't be replicated.
This PR just adds a wait loop before running the job to fix the flaky test.
## How was this patch tested?
Jenkins
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zsxwing/spark SPARK-17318-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14905.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 #14905
----
commit 6eeb7f1077ba8d629fa49cc838c5176b9ce27b6d
Author: Shixiong Zhu <[email protected]>
Date: 2016-08-31T23:55:34Z
Wait until executors are up before running jobs
----
---
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]