GitHub user andrewor14 opened a pull request:
https://github.com/apache/spark/pull/4230
[SPARK-5432] DriverSuite and SparkSubmitSuite should sc.stop()
In the past we've disabled the UIs and messed with the ports to keep the
tests passing. However, these are only temporary fixes since ultimately we're
still leaking a JVM after each individual test has finished. If we stop the
`SparkContext` that should ensure the resources get cleaned up properly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewor14/spark fix-driver-suite
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4230.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 #4230
----
commit 8092c36831bb2b348f566bb4bd9a8d234cc5fc3d
Author: Andrew Or <[email protected]>
Date: 2015-01-27T19:51:25Z
Stop SparkContext after every individual test
----
---
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]