We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9fa7c commit d410791Copy full SHA for d410791
Spark Streaming 源码解析系列/2.1 JobScheduler, Job, JobSet 详解.md
@@ -129,13 +129,13 @@ class JobScheduler(val ssc: StreamingContext) extends Logging {
129
// 完整代码可见本文最后的附录
130
val BLOCK_INTERVAL = 1 // in seconds
131
val BATCH_INTERVAL = 5 // in seconds
132
-val CURRENT_JOBS = 10 // in seconds
+val CURRENT_JOBS = 10
133
...
134
135
// DStream DAG 定义开始
136
val inputStream = ssc.receiverStream(...)
137
-inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 1
138
-inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 2
+inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 1
+inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 2
139
// DStream DAG 定义结束
140
141
```
0 commit comments