Github user watermen commented on a diff in the pull request:
https://github.com/apache/spark/pull/2216#discussion_r17344850
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala
---
@@ -50,8 +50,8 @@ trait JavaDStreamLike[T, This <: JavaDStreamLike[T, This,
R], R <: JavaRDDLike[T
* Print the first ten elements of each RDD generated in this DStream.
This is an output
* operator, so this DStream will be registered as an output stream and
there materialized.
*/
- def print(): Unit = {
- dstream.print()
+ def print(num: Int = 10): Unit = {
--- End diff --
What do you mean of "break binary compatibility"?
---
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]