Skip to content

Commit e708f74

Browse files
Aaron Kimballtdas
authored andcommitted
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 <[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.
1 parent 156bcd7 commit e708f74

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
@@ -188,7 +188,7 @@ JavaPairDStream<String, Integer> wordCounts = pairs.reduceByKey(
188188
return i1 + i2;
189189
}
190190
});
191-
wordCount.print(); // Print a few of the counts to the console
191+
wordCounts.print(); // Print a few of the counts to the console
192192
{% endhighlight %}
193193

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

0 commit comments

Comments
 (0)