You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Anil <an...@gmail.com> on 2017/02/16 06:12:38 UTC

Execution of Compute jobs

Hi,

Does ignite assign the jobs when ignite.compute().call(jobs) is executed
even number of jobs greater than number of nodes?

Lets say i have to execute the 9 jobs on 4 node cluster. Will 9 jobs
assigned to nodes in the beginning itself ? or assign each job to each node
and when node finishes the job assign the other job ?

Thanks.

Re: Execution of Compute jobs

Posted by Andrey Gura <ag...@apache.org>.
It seems that some kind of custom solution will be simpler. Balancer
doesn't help because map stage will always perfrom one time for all
you jobs that you pass to call() method.

On Thu, Feb 16, 2017 at 4:09 PM, Anil <an...@gmail.com> wrote:
>
> Thanks Andrey.
>
> Is there any to way to change the behavior ? assign the tasks (equal to
> cluster size) and assign the remain tasks in the same when tasks completed
> on nodes ?  ignite load balancer will rescue  here ?Please advice.
>
>
> Thanks
>
> On 16 February 2017 at 18:35, Andrey Gura <ag...@apache.org> wrote:
>>
>> Hi,
>>
>> when you invoke call() your jobs will mapped to nodes and then will be
>> sent to mapped nodes for job execution. So answer is yes, jobs will be
>> assigned to nodes even number of jobs is greater than number of nodes.
>> All 9 jobs will be assigned in the beginning.
>>
>> On Thu, Feb 16, 2017 at 9:12 AM, Anil <an...@gmail.com> wrote:
>> > Hi,
>> >
>> > Does ignite assign the jobs when ignite.compute().call(jobs) is executed
>> > even number of jobs greater than number of nodes?
>> >
>> > Lets say i have to execute the 9 jobs on 4 node cluster. Will 9 jobs
>> > assigned to nodes in the beginning itself ? or assign each job to each
>> > node
>> > and when node finishes the job assign the other job ?
>> >
>> > Thanks.
>> >
>> >
>> >
>
>

Re: Execution of Compute jobs

Posted by Anil <an...@gmail.com>.
Thanks Andrey.

Is there any to way to change the behavior ? assign the tasks (equal to
cluster size) and assign the remain tasks in the same when tasks completed
on nodes ?  ignite load balancer will rescue  here ?Please advice.


Thanks

On 16 February 2017 at 18:35, Andrey Gura <ag...@apache.org> wrote:

> Hi,
>
> when you invoke call() your jobs will mapped to nodes and then will be
> sent to mapped nodes for job execution. So answer is yes, jobs will be
> assigned to nodes even number of jobs is greater than number of nodes.
> All 9 jobs will be assigned in the beginning.
>
> On Thu, Feb 16, 2017 at 9:12 AM, Anil <an...@gmail.com> wrote:
> > Hi,
> >
> > Does ignite assign the jobs when ignite.compute().call(jobs) is executed
> > even number of jobs greater than number of nodes?
> >
> > Lets say i have to execute the 9 jobs on 4 node cluster. Will 9 jobs
> > assigned to nodes in the beginning itself ? or assign each job to each
> node
> > and when node finishes the job assign the other job ?
> >
> > Thanks.
> >
> >
> >
>

Re: Execution of Compute jobs

Posted by Andrey Gura <ag...@apache.org>.
Hi,

when you invoke call() your jobs will mapped to nodes and then will be
sent to mapped nodes for job execution. So answer is yes, jobs will be
assigned to nodes even number of jobs is greater than number of nodes.
All 9 jobs will be assigned in the beginning.

On Thu, Feb 16, 2017 at 9:12 AM, Anil <an...@gmail.com> wrote:
> Hi,
>
> Does ignite assign the jobs when ignite.compute().call(jobs) is executed
> even number of jobs greater than number of nodes?
>
> Lets say i have to execute the 9 jobs on 4 node cluster. Will 9 jobs
> assigned to nodes in the beginning itself ? or assign each job to each node
> and when node finishes the job assign the other job ?
>
> Thanks.
>
>
>