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

Hitesh Shah commented on TEZ-2249:
----------------------------------

There are 2 commit levels:
   - task attempt/task commit
   - vertex commit 

The task attempts query the AM to see which one of them is the "winner" that 
can commit. Look for the canCommit() call. This determines that only one task 
attempt's output is the final task output. 

The losing task attempt would be then killed ( and it would not commit its data 
).

> Wait for all task attempt finished before moving Task to finished state
> -----------------------------------------------------------------------
>
>                 Key: TEZ-2249
>                 URL: https://issues.apache.org/jira/browse/TEZ-2249
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>         Attachments: TEZ-2249-1.patch
>
>
> 2 cases:
> * If Task needs to move the SUCCEEDED, then committing may happens while 
> there's still task attempt running.
> * If Tasks needs to move to FAILED/KILLED/ERROD, then aborting may happens 
> while there's still task attempt running.



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

Reply via email to