Hi
I am using Spark 1.6. I have one query about Fine Grained model in Spark.
I have a simple Spark application which transforms A -> B. Its a single
stage application. To begin the program, It starts with 48 partitions.
When the program starts running, in mesos UI it shows 48 tasks and 48 CPUs
a
But coarse grained does the exact same thing which i am trying to avert
here. At the cost of lower startup, it keeps the resources reserved till
the entire duration of the job.
Regards
Sumit Chawla
On Mon, Dec 19, 2016 at 10:06 AM, Michael Gummelt
wrote:
> Hi
>
> I don't have a lot of experie
Hi Chawla,
One possible reason is that Mesos fine grain mode also takes up cores
to run the executor per host, so if you have 20 agents running Fine
grained executor it will take up 20 cores while it's still running.
Tim
On Fri, Dec 16, 2016 at 8:41 AM, Chawla,Sumit wrote:
> Hi
>
> I am using S
That makes sense. From the documentation it looks like the executors are
not supposed to terminate:
http://spark.apache.org/docs/latest/running-on-mesos.html#fine-grained-deprecated
> Note that while Spark tasks in fine-grained will relinquish cores as they
> terminate, they will not relinquish me
Ah thanks. looks like i skipped reading this *"Neither will executors
terminate when they’re idle."*
So in my job scenario, I should preassume that No of executors should be
less than number of tasks. Ideally one executor should execute 1 or more
tasks. But i am observing something strange inste
Great. Makes much better sense now. What will be reason to have
spark.mesos.mesosExecutor.cores more than 1, as this number doesn't include
the number of cores for tasks.
So in my case it seems like 30 CPUs are allocated to executors. And there
are 48 tasks so 48 + 30 = 78 CPUs. And i am noti
embre 2016 22h42:55 GMT +01:00 Amsterdam / Berlin / Berne /
Rome / Stockholm / Vienne
Objet: Re: Mesos Spark Fine Grained Execution - CPU count
> Is this problem of idle executors sticking around solved in Dynamic Resource
> Allocation? Is there some timeout after which Idle executors
he.org, "User"
> , d...@spark.apache.org
> Envoyé: Lundi 19 Décembre 2016 22h42:55 GMT +01:00 Amsterdam / Berlin /
> Berne / Rome / Stockholm / Vienne
> Objet: Re: Mesos Spark Fine Grained Execution - CPU count
>
>
>> Is this problem of idle executors sticking aroun
; > , d...@spark.apache.org
> > Envoyé: Lundi 19 Décembre 2016 22h42:55 GMT +01:00 Amsterdam / Berlin /
> > Berne / Rome / Stockholm / Vienne
> > Objet: Re: Mesos Spark Fine Grained Execution - CPU count
> >
> >
> >> Is this problem of idle executors stickin
; > with mesos !
>> >
>> >
>> > - Mail Original -
>> > De: "Michael Gummelt"
>> > À: "Sumit Chawla"
>> > Cc: u...@mesos.apache.org, dev@mesos.apache.org, "User"
>> > , d...@spark.apache.org
&
namic allocation?
>> >>
>> >> Tim
>> >>
>> >> On Mon, Dec 19, 2016 at 2:45 PM, Mehdi Meziane
>> >> wrote:
>> >> > We will be interested by the results if you give a try to Dynamic
>> >> allocation
>>
gt; >> on the coarse grain mode.
>> >> >>
>> >> >> What's the reason you're running fine grain mode instead of coarse
>> >> >> grain + dynamic allocation?
>> >> >>
>> >> >> Tim
>> &g
Dynamic
>> >> allocation
>> >> > with mesos !
>> >> >
>> >> >
>> >> > - Mail Original -
>> >> > De: "Michael Gummelt"
>> >> > À: "Sumit Chawla"
>> >> > Cc
13 matches
Mail list logo