Re: Removing the Mesos fine-grained mode

2016-01-20 Thread Iulian Dragoș
That'd be great, thanks Adam! On Tue, Jan 19, 2016 at 5:41 PM, Adam McElwee wrote: > Sorry, I never got a chance to circle back with the master logs for this. > I definitely can't share the job code, since it's used to build a pretty > core dataset for my company, but let me see if I can pull so

Re: Removing the Mesos fine-grained mode

2016-01-19 Thread Adam McElwee
Sorry, I never got a chance to circle back with the master logs for this. I definitely can't share the job code, since it's used to build a pretty core dataset for my company, but let me see if I can pull some logs together in the next couple days. On Tue, Jan 19, 2016 at 10:08 AM, Iulian Dragoș

Re: Removing the Mesos fine-grained mode

2016-01-19 Thread Iulian Dragoș
It would be good to get to the bottom of this. Adam, could you share the Spark app that you're using to test this? iulian On Mon, Nov 30, 2015 at 10:10 PM, Timothy Chen wrote: > Hi Adam, > > Thanks for the graphs and the tests, definitely interested to dig a > bit deeper to find out what's cou

Re: Removing the Mesos fine-grained mode

2015-11-30 Thread Timothy Chen
Hi Adam, Thanks for the graphs and the tests, definitely interested to dig a bit deeper to find out what's could be the cause of this. Do you have the spark driver logs for both runs? Tim On Mon, Nov 30, 2015 at 9:06 AM, Adam McElwee wrote: > To eliminate any skepticism around whether cpu is a

Re: Removing the Mesos fine-grained mode

2015-11-30 Thread Adam McElwee
To eliminate any skepticism around whether cpu is a good performance metric for this workload, I did a couple comparison runs of an example job to demonstrate a more universal change in performance metrics (stage/job time) between coarse and fine-grained mode on mesos. The workload is identical he

Re: Removing the Mesos fine-grained mode

2015-11-23 Thread Jerry Lam
@Andrew Or I assume you are referring to this ticket [SPARK-5095]: https://issues.apache.org/jira/browse/SPARK-5095 Thank you! Best Regards, Jerry > On Nov 23, 2015, at 2:41 PM, Andrew Or wrote: > > @Jerry Lam > > Can someone confirm if i

Re: Removing the Mesos fine-grained mode

2015-11-23 Thread Jerry Lam
Hi Andrew, Thank you for confirming this. I’m referring to this because I used fine-grained mode before and it was a headache because of the memory issue. Therefore, I switched to Yarn with dynamic allocation. I was thinking if I can switch back to Mesos with coarse-grained mode + dynamic alloc

Re: Removing the Mesos fine-grained mode

2015-11-23 Thread Andrew Or
@Jerry Lam Can someone confirm if it is true that dynamic allocation on mesos "is > designed to run one executor per slave with the configured amount of > resources." I copied this sentence from the documentation. Does this mean > there is at most 1 executor per node? Therefore, if you have a big

Re: Removing the Mesos fine-grained mode

2015-11-23 Thread Adam McElwee
On Mon, Nov 23, 2015 at 7:36 AM, Iulian Dragoș wrote: > > > On Sat, Nov 21, 2015 at 3:37 AM, Adam McElwee wrote: > >> I've used fine-grained mode on our mesos spark clusters until this week, >> mostly because it was the default. I started trying coarse-grained because >> of the recent chatter on

Re: Removing the Mesos fine-grained mode

2015-11-23 Thread Jerry Lam
Hi guys, Can someone confirm if it is true that dynamic allocation on mesos "is designed to run one executor per slave with the configured amount of resources." I copied this sentence from the documentation. Does this mean there is at most 1 executor per node? Therefore, if you have a big mach

Re: Removing the Mesos fine-grained mode

2015-11-23 Thread Iulian Dragoș
On Sat, Nov 21, 2015 at 3:37 AM, Adam McElwee wrote: > I've used fine-grained mode on our mesos spark clusters until this week, > mostly because it was the default. I started trying coarse-grained because > of the recent chatter on the mailing list about wanting to move the mesos > execution path

Re: Removing the Mesos fine-grained mode

2015-11-20 Thread Adam McElwee
I've used fine-grained mode on our mesos spark clusters until this week, mostly because it was the default. I started trying coarse-grained because of the recent chatter on the mailing list about wanting to move the mesos execution path to coarse-grained only. The odd things is, coarse-grained vs f

Re: Removing the Mesos fine-grained mode

2015-11-20 Thread Iulian Dragoș
This is a good point. We should probably document this better in the migration notes. In the mean time: http://spark.apache.org/docs/latest/running-on-mesos.html#dynamic-resource-allocation-with-mesos Roughly, dynamic allocation lets Spark add and kill executors based on the scheduling delay. The

Re: Removing the Mesos fine-grained mode

2015-11-19 Thread Jo Voordeckers
As a recent fine-grained mode adopter I'm now confused after reading this and other resources from spark-summit, the docs, ... so can someone please advise me for our use-case? We'll have 1 or 2 streaming jobs and an will run scheduled batch jobs which should take resources away from the streamin

Re: Removing the Mesos fine-grained mode

2015-11-19 Thread Heller, Chris
I was one that argued for fine-grain mode, and there is something I still appreciate about how fine-grain mode operates in terms of the way one would define a Mesos framework. That said, with dyn-allocation and Mesos support for both resource reservation, oversubscription and revocation, I think

Re: Removing the Mesos fine-grained mode

2015-11-19 Thread Dean Wampler
Sounds like the right move. Simplifies things in important ways. Dean Wampler, Ph.D. Author: Programming Scala, 2nd Edition (O'Reilly) Typesafe @deanwampler http://polyglotprogramming.com On