You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2015/12/15 09:06:46 UTC

[jira] [Assigned] (TEZ-2576) It is not necessary to send NodeFailureEvent to task attempt of completed DAG

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

Jeff Zhang reassigned TEZ-2576:
-------------------------------

    Assignee: Jeff Zhang

> It is not necessary to send NodeFailureEvent to task attempt of completed DAG
> -----------------------------------------------------------------------------
>
>                 Key: TEZ-2576
>                 URL: https://issues.apache.org/jira/browse/TEZ-2576
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>            Priority: Critical
>
> When node fails, it would send NodeFailureEvent to all the task attempts on this node. It is not necessary to send this to the task attempts that belong to the completed dags. 
> {code}
>  for (TezTaskAttemptID taId : container.failedAssignments) {
>         container.sendNodeFailureToTA(taId, errorMessage, TaskAttemptTerminationCause.NODE_FAILED);
>       }
>       for (TezTaskAttemptID taId : container.completedAttempts) {
>         container.sendNodeFailureToTA(taId, errorMessage, TaskAttemptTerminationCause.NODE_FAILED);
>       }
> {code}



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