-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
SPARK-2548 [STREAMING] JavaRecoverableWordCount is missing #2564
Conversation
… / formatting in related examples
QA tests have started for PR 2564 at commit
|
QA tests have finished for PR 2564 at commit
|
Test FAILed. |
Jenkins, test this please. |
QA tests have started for PR 2564 at commit
|
QA tests have finished for PR 2564 at commit
|
Test PASSed. |
@srowen Cool!! How did you test the JavaRecoverableWordCount? |
* checkpoint data exists in ~/checkpoint/, then it will create StreamingContext from | ||
* the checkpoint data. | ||
* | ||
* To run this example in a local standalone cluster with automatic driver recovery, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this reference to spark standalone cluster mode? These instructions are old and irrelevant. Please remove from both examples :)
@tdas No problem, text removed. I tested the Java example using the instructions in the javadoc, and that worked. I was lazy, and didn't try it on a cluster and try killing the receiver and recovering, on the assumption that the API calls are correct and it's the tests that should make sure it works. It's a straight port of the Scala example, so if that is a valid example, this should be too. |
QA tests have started for PR 2564 at commit
|
QA tests have finished for PR 2564 at commit
|
Test PASSed. |
Hi @tdas, does this look OK to you? Ready to go from this end. Just a little minor change to examples but I agree it's a worth example to resurrect. |
Test build #23078 has started for PR 2564 at commit
|
Test build #23078 has finished for PR 2564 at commit
|
Test PASSed. |
Alright merging this. |
Here's my attempt to re-port `RecoverableNetworkWordCount` to Java, following the example of its Scala and Java siblings. I fixed a few minor doc/formatting issues along the way I believe. Author: Sean Owen <[email protected]> Closes #2564 from srowen/SPARK-2548 and squashes the following commits: 0d0bf29 [Sean Owen] Update checkpoint call as in #2735 35f23e3 [Sean Owen] Remove old comment about running in standalone mode 179b3c2 [Sean Owen] Re-port RecoverableNetworkWordCount to Java example, and touch up doc / formatting in related examples (cherry picked from commit 3a02d41) Signed-off-by: Tathagata Das <[email protected]>
Here's my attempt to re-port `RecoverableNetworkWordCount` to Java, following the example of its Scala and Java siblings. I fixed a few minor doc/formatting issues along the way I believe. Author: Sean Owen <[email protected]> Closes #2564 from srowen/SPARK-2548 and squashes the following commits: 0d0bf29 [Sean Owen] Update checkpoint call as in #2735 35f23e3 [Sean Owen] Remove old comment about running in standalone mode 179b3c2 [Sean Owen] Re-port RecoverableNetworkWordCount to Java example, and touch up doc / formatting in related examples (cherry picked from commit 3a02d41) Signed-off-by: Tathagata Das <[email protected]>
Here's my attempt to re-port
RecoverableNetworkWordCount
to Java, following the example of its Scala and Java siblings. I fixed a few minor doc/formatting issues along the way I believe.