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/06/29 09:10:04 UTC

[jira] [Updated] (TEZ-2579) Incorrect comparison of TaskAttemptId

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

Jeff Zhang updated TEZ-2579:
----------------------------
    Description: 
TaskImpl#AttemptSucceededTransition
{code}
      // issue kill to all other attempts
      for (TaskAttempt attempt : task.attempts.values()) {
        if (attempt.getID() != task.successfulAttempt &&  // should use !equals 
        !attempt.isFinished()) {           
{code}

  was:
TaskImpl#AttemptSucceededTransition
{code}
      // issue kill to all other attempts
      for (TaskAttempt attempt : task.attempts.values()) {
        if (attempt.getID() != task.successfulAttempt &&             // should use !equals 
{code}


> Incorrect comparison of TaskAttemptId
> -------------------------------------
>
>                 Key: TEZ-2579
>                 URL: https://issues.apache.org/jira/browse/TEZ-2579
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>
> TaskImpl#AttemptSucceededTransition
> {code}
>       // issue kill to all other attempts
>       for (TaskAttempt attempt : task.attempts.values()) {
>         if (attempt.getID() != task.successfulAttempt &&  // should use !equals 
>         !attempt.isFinished()) {           
> {code}



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