GitHub user nivox opened a pull request:
https://github.com/apache/spark/pull/19217
[SPARK-21991][LAUNCHER] LauncherServer acceptConnections thread sometime
dies if machine has very high load
## What changes were proposed in this pull request?
This patch changes the order in which _acceptConnections_ starts the client
thread and schedules the client timeout action ensuring that the latter has
been scheduled before the former get a chance to cancel it.
## How was this patch tested?
Due to the non-deterministic nature of the patch I wan't able to add a new
test for this issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nivox/spark SPARK-21991
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19217.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 #19217
----
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]