Commit 0ca13bb
committed
SPARK-1700: Close socket file descriptors on task completion
This will ensure that sockets do not build up over the course of a job,
and that cancellation successfully cleans up sockets.
Tested in standalone mode. More file descriptors spawn than expected
(around 1000ish rather than the expected 8ish) but they do not pile up
between runs, or as high as before (where they went up to around 5k).1 parent f25ebed commit 0ca13bb
File tree
1 file changed
+10
-1
lines changed- core/src/main/scala/org/apache/spark/api/python
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
0 commit comments