Skip to content

Conversation

@squito
Copy link
Contributor

@squito squito commented Jan 16, 2013

This threadpool seems unused (unless there is some magic I'm missing somewhere). My guess is that its been replaced by the threadpool in Executor.

mateiz added a commit that referenced this pull request Jan 17, 2013
@mateiz mateiz merged commit aff1844 into mesos:master Jan 17, 2013
@mateiz
Copy link
Member

mateiz commented Jan 17, 2013

Good catch, thanks.

harveyfeng pushed a commit to harveyfeng/spark-mesos that referenced this pull request Jan 14, 2014
Fix default TTL for metadata cleaner

It seems to have been set to 3500 in a previous commit for debugging, but it should be off by default.
harveyfeng pushed a commit to harveyfeng/spark-mesos that referenced this pull request Jan 14, 2014
Better error handling in Spark Streaming and more API cleanup

Earlier errors in jobs generated by Spark Streaming (or in the generation of jobs) could not be caught from the main driver thread (i.e. the thread that called StreamingContext.start()) as it would be thrown in different threads. With this change, after `ssc.start`, one can call `ssc.awaitTermination()` which will be block until the ssc is closed, or there is an exception. This makes it easier to debug.

This change also adds ssc.stop(<stop-spark-context>) where you can stop StreamingContext without stopping the SparkContext.

Also fixes the bug that came up with PRs mesos#393 and mesos#381. MetadataCleaner default value has been changed from 3500 to -1 for normal SparkContext and 3600 when creating a StreamingContext. Also, updated StreamingListenerBus with changes similar to SparkListenerBus in mesos#392.

And changed a lot of protected[streaming] to private[streaming].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants