-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-3325][Streaming] Add a parameter to the method print in class DStream. #3237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch? |
|
Jenkins, this is ok to test. |
|
LGTM! As soon as the Jenkins test passes, I am going to merge this. |
|
Test build #23386 has started for PR 3237 at commit
|
|
Test build #23386 has finished for PR 3237 at commit
|
|
Test FAILed. |
|
Aaah, this is getting into the binary compatibility issue. Adding the print(num) method to the interface JavaDStreamLike (Scala traits boil down to Java interfaces) is going to break existing implementations of the abstract class. But that is probably okay because I doubt any one has subclasses JavaDStreamLike. You will have to add the mima binary check exception in this file. And you have to add exclusions for Let me know if you need more information. |
|
Also it would be cool if you can also extend the Python DStream's print :) |
|
Test build #23466 has started for PR 3237 at commit
|
|
@tdas I'm not familiar with python, can you give me more information? |
|
Test build #23466 has finished for PR 3237 at commit
|
|
Test FAILed. |
|
Test FAILed. |
|
@watermen For python you can take a look at the print in this file |
|
Jenkins, test this please. |
|
Test build #23634 has started for PR 3237 at commit
|
|
Test build #23634 has finished for PR 3237 at commit
|
|
Test FAILed. |
|
Test build #23651 has started for PR 3237 at commit
|
|
Test build #23651 has finished for PR 3237 at commit
|
|
Test PASSed. |
|
Test build #23668 has started for PR 3237 at commit
|
|
Test build #23669 has started for PR 3237 at commit
|
|
Test build #23670 has started for PR 3237 at commit
|
|
Test build #23668 has finished for PR 3237 at commit
|
|
Test PASSed. |
|
Hey @watermen This patch has conflicts. Could you update? Sorry for delaying the merging of this PR. |
|
Test build #24927 has started for PR 3237 at commit
|
|
Test build #24929 has started for PR 3237 at commit
|
|
@tdas I had fixed the conflicts, please merge this PR. |
|
Test build #24927 has finished for PR 3237 at commit
|
|
Test PASSed. |
|
Test build #24929 has finished for PR 3237 at commit
|
|
Test PASSed. |
|
Test build #24951 has started for PR 3237 at commit
|
|
Test build #24951 has finished for PR 3237 at commit
|
|
Test FAILed. |
|
Jenkins, test this again. |
|
Jenkins, retest this please. |
|
Test build #24978 has started for PR 3237 at commit
|
|
Oops sorry, my bad. I created another merge conflict by merging another PR. Let me fix that for you. |
|
Test build #24978 has finished for PR 3237 at commit
|
|
Test PASSed. |
|
I opened a new PR with your branch You will get the main authorship :) |
|
The other PR #3865 has been merged. Mind closing this PR? Thanks for all the effort! |
…DStream This PR is a fixed version of the original PR #3237 by watermen and scwf. This adds the ability to specify how many elements to print in `DStream.print`. Author: Yadong Qi <qiyadong2010@gmail.com> Author: q00251598 <qiyadong@huawei.com> Author: Tathagata Das <tathagata.das1565@gmail.com> Author: wangfei <wangfei1@huawei.com> Closes #3865 from tdas/print-num and squashes the following commits: cd34e9e [Tathagata Das] Fix bug 7c09f16 [Tathagata Das] Merge remote-tracking branch 'apache-github/master' into HEAD bb35d1a [Yadong Qi] Update MimaExcludes.scala f8098ca [Yadong Qi] Update MimaExcludes.scala f6ac3cb [Yadong Qi] Update MimaExcludes.scala e4ed897 [Yadong Qi] Update MimaExcludes.scala 3b9d5cf [wangfei] fix conflicts ec8a3af [q00251598] move to Spark 1.3 26a70c0 [q00251598] extend the Python DStream's print b589a4b [q00251598] add another print function
|
Mind closing this PR? |
I have deleted the repository with mistake, so I create a new PR. old PR:#2216
User can control the number of elements which to print.