[ 
https://issues.apache.org/jira/browse/TEZ-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Seth updated TEZ-2212:
--------------------------------
    Attachment: TEZ-2212.2.txt

Updated patch to queue the cleanup in the AsyncDispatcher, after offline 
discussion with Hitesh. This is safer, in case there's events pending in the 
queue.

Have added a new eventHandler for cleanup - which will invoke the individual 
methods, with the DAG copied over.

Also removed cleanup from TaskAttemptListener.

[~hitesh] - please review.

> Notify components on DAG completion
> -----------------------------------
>
>                 Key: TEZ-2212
>                 URL: https://issues.apache.org/jira/browse/TEZ-2212
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: TEZ-2212.1.txt, TEZ-2212.2.txt
>
>
> Various components, especially the ones that are made pluggable by TEZ-2003, 
> should be informed about DAG completion, so that they can perform required 
> cleanup - ContainerLauncher, TaskAttemptListener, Scheduler (already 
> informed). In addition ID caches etc should be cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to