Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/12452#discussion_r59982483
--- Diff:
examples/src/main/scala/org/apache/spark/examples/streaming/RecoverableNetworkWordCount.scala
---
@@ -116,7 +116,7 @@ object RecoverableNetworkWordCount {
val lines = ssc.socketTextStream(ip, port)
val words = lines.flatMap(_.split(" "))
val wordCounts = words.map((_, 1)).reduceByKey(_ + _)
- wordCounts.foreachRDD { (rdd, time) =>
+ wordCounts.foreachRDD { (rdd: RDD[(String, Int)], time: Time) =>
--- End diff --
FWIW I'm fine with putting this back, myself, but it's not consistent with
all of the other examples -- streaming ones yes but not the non-streaming ones.
Not a big deal. I think it's worth just getting this resolved.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]