-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-794][Core] Remove sleep() in ClusterScheduler.stop #3851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch? |
|
Jenkins, test this please. |
|
Test build #24921 has started for PR 3851 at commit
|
|
Test build #24921 has finished for PR 3851 at commit
|
|
Test FAILed. |
|
Jenkins, retest this please. |
|
Test build #24926 has started for PR 3851 at commit
|
|
Test build #24926 has finished for PR 3851 at commit
|
|
Test FAILed. |
|
Jenkins, retest this please. |
|
Test build #24968 has started for PR 3851 at commit
|
|
Test build #24968 has finished for PR 3851 at commit
|
|
Test PASSed. |
|
Ping @mridulm, since it looks like you might have introduced the first version of this sleep call back in 2013: d90d2af#diff-4e188f32951dc989d97fa7577858bc7cR397 I don't see a good reason to keep this sleep; the tests pass without it and its removal seems to have given us a big test performance boost. |
|
I'm inclined to merge this into |
|
@JoshRosen I dont remember much of the context around this. From the commit comment, I think I had introduced it for testing out metadata cleaning in Spark 1.0, so that all messages gets sent if the scheduler and everything is shutdown. Off the top of my head, I am not sure if removing this would cause flakiness due to unsent messages. If tests pass without it without flakiness, I am good with it. |
|
Alright, I'm going to merge this into |
Backport #3851 to branch 1.2: remove Thread.sleep(1000) in TaskSchedulerImpl. Teeing this up for Jenkins per discussion in the JIRA / PR. Author: Sean Owen <sowen@cloudera.com> Closes #4793 from srowen/SPARK-795.2 and squashes the following commits: 5f5db4a [Sean Owen] Backport #3851 to branch 1.2: remove Thread.sleep(1000) in TaskSchedulerImpl
Removed
sleep()from thestop()method of theTaskSchedulerImplclass which, from the JIRA ticket, is believed to be a legacy artifact slowing down testing originally introduced in theClusterSchedulerclass.