-
- Downloads
[SPARK-7361] [STREAMING] Throw unambiguous exception when attempting to start...
[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
Showing
- streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala 40 additions, 8 deletions...n/scala/org/apache/spark/streaming/StreamingContext.scala
- streaming/src/test/scala/org/apache/spark/streaming/StreamingContextSuite.scala 18 additions, 0 deletions...la/org/apache/spark/streaming/StreamingContextSuite.scala
Please register or sign in to comment