File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
streaming/src/main/scala/org/apache/spark/streaming Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,10 @@ final private[streaming] class DStreamGraph extends Serializable with Logging {
112112
113113 def generateJobs (time : Time ): Seq [Job ] = {
114114 logDebug(" Generating jobs for time " + time)
115- val jobs = this .synchronized {
116- outputStreams.flatMap { outputStream =>
117- val jobOption = outputStream.generateJob(time)
118- jobOption.foreach(_.setCallSite(outputStream.creationSite))
119- jobOption
120- }
115+ val jobs = getOutputStreams().flatMap { outputStream =>
116+ val jobOption = outputStream.generateJob(time)
117+ jobOption.foreach(_.setCallSite(outputStream.creationSite))
118+ jobOption
121119 }
122120 logDebug(" Generated " + jobs.length + " jobs for time " + time)
123121 jobs
You can’t perform that action at this time.
0 commit comments