Skip to content

Commit 8ce11d3

Browse files
author
Aaron Kimball
committed
SPARK-1173. (#2) Fix typo in Java streaming example.
1 parent 55a4f11 commit 8ce11d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/streaming-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ JavaPairDStream<String, Integer> wordCounts = pairs.reduceByKey(
178178
return i1 + i2;
179179
}
180180
});
181-
wordCount.print(); // Print a few of the counts to the console
181+
wordCounts.print(); // Print a few of the counts to the console
182182
{% endhighlight %}
183183

184184
The `words` DStream is further mapped (one-to-one transformation) to a DStream of `(word,

0 commit comments

Comments
 (0)