GitHub user vanzin opened a pull request:
https://github.com/apache/spark/pull/5311
[SPARK-6650] [core] Stop ExecutorAllocationManager when context stops.
This fixes the thread leak. I also changed the unit test to keep track
of allocated contexts and make sure they're closed after tests are
run; this is needed since some tests use this pattern:
val sc = createContext()
doSomethingThatMayThrow()
sc.stop()
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vanzin/spark SPARK-6650
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5311.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 #5311
----
commit 9886f697bc3ab6fe83aa2aa4ba8a3e92ae0ec051
Author: Marcelo Vanzin <[email protected]>
Date: 2015-04-01T16:49:47Z
[SPARK-6650] [core] Stop ExecutorAllocationManager when context stops.
This fixes the thread leak. I also changed the unit test to keep track
of allocated contexts and making sure they're closed after tests are
run; this is needed since some tests use this pattern:
val sc = createContext()
doSomethingThatMayThrow()
sc.stop()
----
---
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]