diff options
author | Tathagata Das <tathagata.das1565@gmail.com> | 2015-05-11 10:58:56 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2015-05-11 10:58:56 -0700 |
commit | 1b46556999ca126cb593ef052d24afcb75383223 (patch) | |
tree | 9a044f110e130c95bba848b5cacf36f6d2b14109 /sql | |
parent | 4f8a15519267ac205424270155254382cc2d3690 (diff) | |
download | spark-1b46556999ca126cb593ef052d24afcb75383223.tar.gz spark-1b46556999ca126cb593ef052d24afcb75383223.tar.bz2 spark-1b46556999ca126cb593ef052d24afcb75383223.zip |
[SPARK-7361] [STREAMING] Throw unambiguous exception when attempting to start multiple StreamingContexts in the same JVM
Currently attempt to start a streamingContext while another one is started throws a confusing exception that the action name JobScheduler is already registered. Instead its best to throw a proper exception as it is not supported.
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes #5907 from tdas/SPARK-7361 and squashes the following commits:
fb81c4a [Tathagata Das] Fix typo
a9cd5bb [Tathagata Das] Added startSite to StreamingContext
5fdfc0d [Tathagata Das] Merge remote-tracking branch 'apache-github/master' into SPARK-7361
5870e2b [Tathagata Das] Added check for multiple streaming contexts
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions