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
  • Loading branch information
Aaron Kimball committed Mar 3, 2014
1 parent 55a4f11 commit 8ce11d3
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 @@ -178,7 +178,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 8ce11d3

Please sign in to comment.