[
https://issues.apache.org/jira/browse/TEZ-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14081968#comment-14081968
]
Bikas Saha commented on TEZ-870:
--------------------------------
Can this clash/fail with subsequent runs?
{code}+ fs.mkdirs(logDir);
+ fs.mkdirs(localDir);{code}
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?
{code}+ future.cancel(true);
+ // This will work only if the running task respects Interrupts - which
at the moment is
+ // not the case for parts of the Runtime{code}
Does this mean that local mode does not "reuse" containers?
{code}+ LOG.info("Container: " + containerId + " completed
successfully");
+ appContext.getEventHandler().handle(
+ new AMContainerEventCompleted(containerId,
result.getExitStatus().getExitCode(),
+ null));{code}
> 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)