Repository: spark Updated Branches: refs/heads/master 2b53447f3 -> f65c1f38e
SPARK-1173. (#2) Fix typo in Java streaming example. Companion commit to pull request #64, fix the typo on the Java side of the docs. Author: Aaron Kimball <[email protected]> Closes #65 from kimballa/spark-1173-java-doc-update and squashes the following commits: 8ce11d3 [Aaron Kimball] SPARK-1173. (#2) Fix typo in Java streaming example. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f65c1f38 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f65c1f38 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f65c1f38 Branch: refs/heads/master Commit: f65c1f38eb7ed99a578a5430831a4a2c1d774e7a Parents: 2b53447 Author: Aaron Kimball <[email protected]> Authored: Sun Mar 2 23:48:48 2014 -0800 Committer: Reynold Xin <[email protected]> Committed: Sun Mar 2 23:48:48 2014 -0800 ---------------------------------------------------------------------- docs/streaming-programming-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/f65c1f38/docs/streaming-programming-guide.md ---------------------------------------------------------------------- diff --git a/docs/streaming-programming-guide.md b/docs/streaming-programming-guide.md index 0cc572d..2a56cf0 100644 --- a/docs/streaming-programming-guide.md +++ b/docs/streaming-programming-guide.md @@ -188,7 +188,7 @@ JavaPairDStream<String, Integer> wordCounts = pairs.reduceByKey( return i1 + i2; } }); -wordCount.print(); // Print a few of the counts to the console +wordCounts.print(); // Print a few of the counts to the console {% endhighlight %} The `words` DStream is further mapped (one-to-one transformation) to a DStream of `(word,
