Skip to content

Commit d410791

Browse files
authored
修复一处注释的 typo
1 parent 7f9fa7c commit d410791

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Spark Streaming 源码解析系列/2.1 JobScheduler, Job, JobSet 详解.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ class JobScheduler(val ssc: StreamingContext) extends Logging {
129129
// 完整代码可见本文最后的附录
130130
val BLOCK_INTERVAL = 1 // in seconds
131131
val BATCH_INTERVAL = 5 // in seconds
132-
val CURRENT_JOBS = 10 // in seconds
132+
val CURRENT_JOBS = 10
133133
...
134134

135135
// DStream DAG 定义开始
136136
val inputStream = ssc.receiverStream(...)
137-
inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 1
138-
inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 2
137+
inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 1
138+
inputStream.foreachRDD(_ => Thread.sleep(Int.MaxValue)) // output 2
139139
// DStream DAG 定义结束
140140
...
141141
```

0 commit comments

Comments
 (0)