-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-6979][Streaming] Replace JobScheduler.eventActor and JobGenerator.eventActor with EventLoop #5554
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
|
If you have a moment, this is more for my edification, is the benefit simply that there is no need to participate in the full-blown actor system, and that this is simpler to reason about as a local event loop? are there other benefits or drawabacks? |
|
Test build #30480 has finished for PR 5554 at commit
|
|
@srowen this is a part of SPARK-5293. The future plan is make Spark be able to be built without Akka at all eventually. |
|
retest this please |
|
Test build #30479 has finished for PR 5554 at commit
|
|
Test build #30482 has finished for PR 5554 at commit
|
|
Test build #30485 has finished for PR 5554 at commit
|
|
I just replaced |
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.
add a blank line here
|
Test build #30486 has finished for PR 5554 at commit
|
|
Thanks - please ping me when this is ready. |
|
Finally, figured out why NotSerializableException also happens in the old codes, but it just forces the Actor restart because it's not caught by any code. Then I use EventLoop to replace Actor, so
So it's a bug that was hidden by Actor error mechanism. And now |
|
Just added |
|
I think I should create a new PR for the NotSerializableException bug in StreamingKMeans so that we can merge it to branch 1.2 and 1.3. Added #5582 for the bug. |
|
Will update this PR once #5582 is merged. |
|
Test build #30565 has finished for PR 5554 at commit
|
|
LGTM. I'm going to merge it in master since it doesn't conflict. |
…tor.eventActor with EventLoop Title says it all. cc rxin tdas Author: zsxwing <[email protected]> Closes apache#5554 from zsxwing/SPARK-6979 and squashes the following commits: 5304350 [zsxwing] Fix NotSerializableException e9d3479 [zsxwing] Add blank lines 633e279 [zsxwing] Fix NotSerializableException e496ace [zsxwing] Replace JobGenerator.eventActor with EventLoop ec6ec58 [zsxwing] Fix the import order ce0fa73 [zsxwing] Replace JobScheduler.eventActor with EventLoop
Title says it all.
cc @rxin @tdas