-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-2898] [PySpark] fix bugs in deamon.py #1842
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
1. do not use signal handler for SIGCHILD, it's easy to cause deadlock 2. handle EINTR during accept() 3. pass errno into JVM 4. handle EAGAIN during fork() Now, it can pass 50k tasks tests in 180 seconds.
|
QA tests have started for PR 1842. This patch merges cleanly. |
|
QA results for PR 1842: |
|
QA tests have started for PR 1842. This patch merges cleanly. |
|
QA results for PR 1842: |
|
QA tests have started for PR 1842. This patch merges cleanly. |
|
QA results for PR 1842: |
|
QA tests have started for PR 1842. This patch merges cleanly. |
|
QA results for PR 1842: |
|
This looks like a good collection of fixes. Let me give it one final look tomorrow morning, then I'll merge it. |
|
I've merged this into |
1. do not use signal handler for SIGCHILD, it's easy to cause deadlock 2. handle EINTR during accept() 3. pass errno into JVM 4. handle EAGAIN during fork() Now, it can pass 50k tasks tests in 180 seconds. Author: Davies Liu <[email protected]> Closes #1842 from davies/qa and squashes the following commits: f0ea451 [Davies Liu] fix lint 03a2e8c [Davies Liu] cleanup dead children every seconds 32cb829 [Davies Liu] fix lint 0cd0817 [Davies Liu] fix bugs in deamon.py (cherry picked from commit 28dcbb5) Signed-off-by: Josh Rosen <[email protected]>
1. do not use signal handler for SIGCHILD, it's easy to cause deadlock 2. handle EINTR during accept() 3. pass errno into JVM 4. handle EAGAIN during fork() Now, it can pass 50k tasks tests in 180 seconds. Author: Davies Liu <[email protected]> Closes apache#1842 from davies/qa and squashes the following commits: f0ea451 [Davies Liu] fix lint 03a2e8c [Davies Liu] cleanup dead children every seconds 32cb829 [Davies Liu] fix lint 0cd0817 [Davies Liu] fix bugs in deamon.py
Now, it can pass 50k tasks tests in 180 seconds.