GitHub user davies opened a pull request:

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

    [SPARK-5395] [PySpark] fix python process leak while coalesce()

    Currently, the Python process is released into pool only after the task had 
finished, it cause many process forked if coalesce() is called.
    
    This PR will change it to release the process as soon as read all the data 
from it (finish the partition), then a process could be reused to process 
multiple partitions in a single task.

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

    $ git pull https://github.com/davies/spark py_leak

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

    https://github.com/apache/spark/pull/4238.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 #4238
    
----
commit 24ed3223f96ec8a2c93fe01f51e846b3e8d92c54
Author: Davies Liu <[email protected]>
Date:   2015-01-28T07:21:55Z

    fix python process leak while coalesce()

----


---
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]

Reply via email to