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 <[email protected]> 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" <[email protected]>님이 작성:
>
> > 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

Reply via email to