[ 
https://issues.apache.org/jira/browse/TEZ-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082365#comment-14082365
 ] 

Chen He edited comment on TEZ-870 at 8/1/14 3:43 PM:
-----------------------------------------------------

I can answer the last question. Local mode does not "reuse container". 
Container in Local mode is just a fake container with incremental ContainerId. 
Actually each task runs as a thread in the same JVM. Once DAGAM asks for a 
container, scheduler just gives a new one which has unique ContainerId. This is 
how TEZ-708 works.


was (Author: airbots):
I can answer the last question. Local mode does not "reuse container". 
Container in Local mode is just a fake container with incremental ContainerId. 
Actually each task runs as a thread in the same JVM. Once DAGAM ask for an 
container, scheduler just give a new one which has unique containerId. This is 
how TEZ-708 works.

> LocalContainerLauncher improvement
> ----------------------------------
>
>                 Key: TEZ-870
>                 URL: https://issues.apache.org/jira/browse/TEZ-870
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Chen He
>            Assignee: Siddharth Seth
>            Priority: Blocker
>         Attachments: TEZ-870.1.txt
>
>
> LocalContainerLauncher  should just be responsible for queuing up requests, 
> and starting threads based on the number of configured tasks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to