tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Min Zhou <coderp...@gmail.com>
Subject Re: How many task runner instances corresponding to one container?
Date Sat, 19 Apr 2014 05:06:40 GMT
Thank you Jihoon,

>From the code of TaskRunner.run() and your previous explanation, does that
means multiple tasks in same node share the same container, but can't be
executed in parallel?  They will be executed one by one, right? So if I
have N worker nodes, the max parallelism is N , right?

Thanks,
Min


On Fri, Apr 18, 2014 at 7:07 PM, Jihoon Son <jihoonson@apache.org> wrote:

> Hi Min.
> That's the exact way that Tajo works.
> For each exec block, only one container is launched to start a task runner
> in each worker.
> A task runner can execute multiple tasks of the correspond exec block.
>
> Thanks,
> Jihoon
> 2014. 4. 19. 오전 9:15에 "Min Zhou" <coderplay@gmail.com>님이 작성:
>
> > Hi all,
> >
> > It seems that for each container, TajoQueryMaster will launch an task
> > through rpc. But this task is for multiple QueryUnitAttempts which will
> be
> > on the same node with the same ExecutionBlockId, right?  In another
> words,
> > in one node, one ExecutionBlockId corresponding to one container,  and
> may
> > include multiple tasks, right?
> >
> > Thanks,
> > Min
> > --
> > My research interests are distributed systems, parallel computing and
> > bytecode based virtual machine.
> >
> > My profile:
> > http://www.linkedin.com/in/coderplay
> > My blog:
> > http://coderplay.javaeye.com
> >
>



-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message