diff options
author | zsxwing <zsxwing@gmail.com> | 2015-08-06 14:39:36 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2015-08-06 14:39:36 -0700 |
commit | 346209097e88fe79015359e40b49c32cc0bdc439 (patch) | |
tree | 4cc014ace8318d6c822e749e5999422ee6556ce1 /pylintrc | |
parent | 1723e34893f9b087727ea0e5c8b335645f42c295 (diff) | |
download | spark-346209097e88fe79015359e40b49c32cc0bdc439.tar.gz spark-346209097e88fe79015359e40b49c32cc0bdc439.tar.bz2 spark-346209097e88fe79015359e40b49c32cc0bdc439.zip |
[SPARK-9639] [STREAMING] Fix a potential NPE in Streaming JobScheduler
Because `JobScheduler.stop(false)` may set `eventLoop` to null when `JobHandler` is running, then it's possible that when `post` is called, `eventLoop` happens to null.
This PR fixed this bug and also set threads in `jobExecutor` to `daemon`.
Author: zsxwing <zsxwing@gmail.com>
Closes #7960 from zsxwing/fix-npe and squashes the following commits:
b0864c4 [zsxwing] Fix a potential NPE in Streaming JobScheduler
Diffstat (limited to 'pylintrc')
0 files changed, 0 insertions, 0 deletions