Skip to content

Commit

Permalink
SPARK-1173. (#2) Fix typo in Java streaming example.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Aaron Kimball authored and rxin committed Mar 3, 2014
1 parent 2b53447 commit f65c1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/streaming-programming-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f65c1f3

Please sign in to comment.