-
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-2377] Python API for Streaming #2538
Conversation
… use time.sleep instread
Jenkins, test this please. |
QA tests have started for PR 2538 at commit
|
Tests timed out for PR 2538 at commit |
@davies unfortunately the last update to statebykey introduced some bug. Here is the error in jenkins logs. Traceback (most recent call last):
Driver stacktrace: |
Tests timed out for PR 2538 at commit |
Test FAILed. |
if len(sys.argv) != 3: | ||
print >> sys.stderr, "Usage: stateful_network_wordcount.py <hostname> <port>" | ||
exit(-1) | ||
sc = SparkContext(appName="PythonStreamingNetworkWordCount") |
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.
appName could be "PythonStreamingStatefulNetworkWordCount"
QA tests have started for PR 2538 at commit
|
QA tests have started for PR 2538 at commit
|
@tdas it's my mistake, the updateStateByKey() was used in another tests, it's fixed now. |
QA tests have started for PR 2538 at commit
|
QA tests have started for PR 2538 at commit
|
QA tests have finished for PR 2538 at commit
|
QA tests have finished for PR 2538 at commit
|
Test PASSed. |
Tests timed out for PR 2538 at commit |
Tests timed out for PR 2538 at commit |
Test FAILed. |
Jenkins, test this please. |
QA tests have started for PR 2538 at commit
|
QA tests have started for PR 2538 at commit
|
QA tests have started for PR 2538 at commit
|
QA tests have finished for PR 2538 at commit
|
Test PASSed. |
Alright, I am merging this!! This is awesome, great great work @giwa and @davies. Thank a lot to both of you, and also to @JoshRosen for ongoing help, suggestions and discussions. |
Thank you for merging this! I appreciate to you, @tdas , to give me many advices. Thank you, @davies to refactor code a lot. I learned many thing from your commits. And also thank you to @JoshRosen to give us the insight and discussion. |
This patch brings Python API for Streaming.
This patch is based on work from @giwa