aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Kimball <aaron@magnify.io>2014-03-02 23:48:48 -0800
committerReynold Xin <rxin@apache.org>2014-03-02 23:48:48 -0800
commitf65c1f38eb7ed99a578a5430831a4a2c1d774e7a (patch)
tree4e599a45d31fdb6c63bab0f1e8057b649c559dc9
parent2b53447f325fa7adcfb9c69fd824467bf420af04 (diff)
downloadspark-f65c1f38eb7ed99a578a5430831a4a2c1d774e7a.tar.gz
spark-f65c1f38eb7ed99a578a5430831a4a2c1d774e7a.tar.bz2
spark-f65c1f38eb7ed99a578a5430831a4a2c1d774e7a.zip
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.
-rw-r--r--docs/streaming-programming-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/streaming-programming-guide.md b/docs/streaming-programming-guide.md
index 0cc572d1fd..2a56cf07d0 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,