You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by mattf <gi...@git.apache.org> on 2014/06/27 22:13:45 UTC

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

GitHub user mattf opened a pull request:

    https://github.com/apache/spark/pull/1247

    [SPARK-1394] Remove SIGCHLD handler in worker subprocess

    It should not be the responsibility of the worker subprocess, which
    does not intentionally fork, to try and cleanup child processes. Doing
    so is complex and interferes with operations such as
    platform.system().
    
    If it is desirable to have tighter control over subprocesses, then
    namespaces should be used and it should be the manager's resposibility
    to handle cleanup.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mattf/spark SPARK-1394

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1247.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 #1247
    
----
commit c36f3085b7baffe6d7231c84b12fc8a1f11396c7
Author: Matthew Farrellee <ma...@redhat.com>
Date:   2014-06-27T20:08:53Z

    [SPARK-1394] Remove SIGCHLD handler in worker subprocess
    
    It should not be the responsibility of the worker subprocess, which
    does not intentionally fork, to try and cleanup child processes. Doing
    so is complex and interferes with operations such as
    platform.system().
    
    If it is desirable to have tighter control over subprocesses, then
    namespaces should be used and it should be the manager's resposibility
    to handle cleanup.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47403594
  
    Merged build finished. All automated tests passed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by mattf <gi...@git.apache.org>.
Github user mattf commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47401236
  
    that's more or less it, except a level lower.
    
    the spawned python worker processes spawn workers of their own (one per connect) and those inherit the worker's SIGCHLD handler, which they have no need for.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by aarondav <gi...@git.apache.org>.
Github user aarondav commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47399183
  
    Just to make sure I understand the problem, is the issue that the spawned python worker process inherits the SIGCHLD handler of its parent process, which it has no need for? And that libraries which spawn subprocesses can invoke this SIGCHLD handler unexpectedly?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by aarondav <gi...@git.apache.org>.
Github user aarondav commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47443380
  
    Gotcha. This sounds like a straightforward fix for a behavior that was totally unintended and unwanted. Merging into master and branch-1.0.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/1247


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47395280
  
    Can one of the admins verify this patch?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47403597
  
    All automated tests passed.
    Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16220/


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47399162
  
     Merged build triggered. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by aarondav <gi...@git.apache.org>.
Github user aarondav commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47399052
  
    Jekins, test this please.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] spark pull request: [SPARK-1394] Remove SIGCHLD handler in worker ...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1247#issuecomment-47399180
  
    Merged build started. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---