Skip to content

Commit ca2bb0f

Browse files
authored
Merge pull request lw-lin#21 from wongxingjun/xj-branch
Fix typo: "transformation" -> "output"
2 parents c001005 + b93b0d6 commit ca2bb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spark Streaming 源码解析系列/0.1 Spark Streaming 实现思路与模块概述.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ val lines = ssc.socketTextStream("localhost", 9999)
294294
val words = lines.flatMap(_.split(" ")) // DStream transformation
295295
val pairs = words.map(word => (word, 1)) // DStream transformation
296296
val wordCounts = pairs.reduceByKey(_ + _) // DStream transformation
297-
wordCounts.print() // DStream transformation
297+
wordCounts.print() // DStream output
298298
// 上面 4 行利用 DStream transformation 构造出了 lines -> words -> pairs -> wordCounts -> .print() 这样一个 DStreamGraph
299299
// 但注意,到目前是定义好了产生数据的 SocketReceiver,以及一个 DStreamGraph,这些都是静态的
300300

0 commit comments

Comments
 (0)