Uh oh!
There was an error while loading. Please reload this page.
[SPARK-6979][Streaming] Replace JobScheduler.eventActor and JobGenerator.eventActor with EventLoop - #5554
[SPARK-6979][Streaming] Replace JobScheduler.eventActor and JobGenerator.eventActor with EventLoop#5554zsxwing wants to merge 6 commits into
Conversation
srowen
commented
Apr 17, 2015
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? |
SparkQA
commented
Apr 17, 2015
Test build #30480 has finished for PR 5554 at commit
|
zsxwing
commented
Apr 17, 2015
@srowen this is a part of SPARK-5293. The future plan is make Spark be able to be built without Akka at all eventually. |
zsxwing
commented
Apr 17, 2015
retest this please |
SparkQA
commented
Apr 17, 2015
Test build #30479 has finished for PR 5554 at commit
|
SparkQA
commented
Apr 17, 2015
Test build #30482 has finished for PR 5554 at commit
|
SparkQA
commented
Apr 17, 2015
Test build #30485 has finished for PR 5554 at commit
|
zsxwing
commented
Apr 17, 2015
I just replaced |
SparkQA
commented
Apr 17, 2015
Test build #30486 has finished for PR 5554 at commit
|
rxin
commented
Apr 19, 2015
Thanks - please ping me when this is ready. |
zsxwing
commented
Apr 19, 2015
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 |
zsxwing
commented
Apr 19, 2015
Just added |
zsxwing
commented
Apr 19, 2015
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. |
zsxwing
commented
Apr 19, 2015
Will update this PR once #5582 is merged. |
SparkQA
commented
Apr 19, 2015
Test build #30565 has finished for PR 5554 at commit
|
rxin
commented
Apr 20, 2015
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 <zsxwing@gmail.com> Closesapache#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