aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2015-04-02 19:48:55 -0700
committerAndrew Or <andrew@databricks.com>2015-04-02 19:48:55 -0700
commit45134ec920c3766c22aefd4366b4b60ec99bd810 (patch)
tree07620b87dcb7ff9b32cb35b011593de8de0d4521 /sql
parent052dee0707830cfd3cd8821ecc3471a37ede294a (diff)
downloadspark-45134ec920c3766c22aefd4366b4b60ec99bd810.tar.gz
spark-45134ec920c3766c22aefd4366b4b60ec99bd810.tar.bz2
spark-45134ec920c3766c22aefd4366b4b60ec99bd810.zip
[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() Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #5311 from vanzin/SPARK-6650 and squashes the following commits: 652c73b [Marcelo Vanzin] Nits. 5711512 [Marcelo Vanzin] More exception safety. cc5a744 [Marcelo Vanzin] Stop alloc manager before scheduler. 9886f69 [Marcelo Vanzin] [SPARK-6650] [core] Stop ExecutorAllocationManager when context stops.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions