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

Siddharth Seth commented on TEZ-870:
------------------------------------

Thanks Chen, Jonathan and Bikas for taking a look.

bq. One minor issue: in line 89, there are two ";"
bq. CancellationException is misspelled in comment
bq. Should hard coded port 53000 be 0 since it is not used
Will fix these.

bq. Can this clash/fail with subsequent runs?
Don't think so. I ran this multiple times locally, but I'll verify.

bq. This basically means that failures that cause scenarios that need 
preemption will get stuck. Local runs should typically not see failures. Can 
the executor thread be terminated for this container and then re-created?
bq. Does this mean that local mode does not "reuse" containers?
Both of these are related to the different scheduler being used for LocalMode. 
I think we need to change things so that the main scheduler is used for local 
mode. If that were the case, then yes - pre-emption could be problematic since 
there's no guarantees on the interrupt working. The thread will be re-created 
in case of a failure.

> 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