[GitHub] spark issue #16291: [SPARK-18838][WIP] Use separate executor service for eac...

2016-12-15 Thread sitalkedia
Github user sitalkedia commented on the issue:

https://github.com/apache/spark/pull/16291
  
@vanzin - Thanks for taking a look and sorry about putting my unfinished 
sloppy code out there. I updated the bug and the PR with the overall design 
idea, which hopefully will answer your questions. 

>> Each listener should process events serially otherwise you risk getting 
into funny situations like a task end event being processed before the task 
start event for the same task.

You are right, that's why the executor service is single threaded which 
guarantees ordered processing of the events per listener.





---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #16291: [SPARK-18838][WIP] Use separate executor service for eac...

2016-12-15 Thread vanzin
Github user vanzin commented on the issue:

https://github.com/apache/spark/pull/16291
  
Hmm... I took a quick look and I'm not sure I understand exactly what's 
going on. It seems you're wrapping each listener with a `ListenerEvenProcessor` 
(note the typo), and each processor has its own thread pool for processing 
events. 

If that's the case, that sounds wrong. Each listener should process events 
serially otherwise you risk getting into funny situations like a task end event 
being processed before the task start event for the same task.

I think this would benefit from a proper explanation of the changes being 
proposed, instead of a bunch of code. How will the listener bus work with the 
changes? Where will we have thread pools, where will we have message queues? 
Will each listener get its own dedicated thread, or will there be a limit? What 
kind of controls will there be to avoid memory pressure? Would it be worth it 
to allow certain listeners to have dedicated threads while others share the 
same one like the current approach? That kind of thing. Can you write something 
up and post it to the bug?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #16291: [SPARK-18838][WIP] Use separate executor service for eac...

2016-12-15 Thread rxin
Github user rxin commented on the issue:

https://github.com/apache/spark/pull/16291
  
This was initially introduced by @kayousterhout 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #16291: [SPARK-18838][WIP] Use separate executor service for eac...

2016-12-14 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/16291
  
Test FAILed.
Refer to this link for build results (access rights to CI server needed): 
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70180/
Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #16291: [SPARK-18838][WIP] Use separate executor service for eac...

2016-12-14 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/16291
  
**[Test build #70180 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/70180/testReport)**
 for PR 16291 at commit 
[`defd536`](https://github.com/apache/spark/commit/defd536bd3a1692156a3bcc82526ffbea01ca702).
 * This patch **fails Scala style tests**.
 * This patch merges cleanly.
 * This patch adds the following public classes _(experimental)_:
  * `class StreamingQueryListenerBus(val sparkListenerBus: LiveListenerBus)`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #16291: [SPARK-18838][WIP] Use separate executor service for eac...

2016-12-14 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/16291
  
Merged build finished. Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org