Skip to content
Browse files

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 <aaron@magnify.io>

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.
  • Loading branch information...
1 parent 2b53447 commit f65c1f38eb7ed99a578a5430831a4a2c1d774e7a Aaron Kimball committed with rxin Mar 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/streaming-programming-guide.md
View
2 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,

0 comments on commit f65c1f3

Please sign in to comment.
Something went wrong with that request. Please try again.