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

Hitesh Shah updated TEZ-1950:
-----------------------------
    Summary: Incorrect handling of locality counter in TaskAttemptImpl  (was: 
Incorrect handling of counters in TaskAttemptImpl)

> Incorrect handling of locality counter in TaskAttemptImpl
> ---------------------------------------------------------
>
>                 Key: TEZ-1950
>                 URL: https://issues.apache.org/jira/browse/TEZ-1950
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>
> To maintain task attempt counters, we are using 
> TaskAttempt.TaskAttemptStatus.counters
> Now, counters is not accessed in a thread safe manner. 
> Counters are updated in either StatusUpdaterTransition or modified as part of
> TaskAttempt.TaskAttemptStatus::setLocalityCounter(). 
> In a scenario, where TaskAttempt::getCounters() is called before any status 
> update transition comes back, the locality counter will get lost because the 
> atomic boolean flag is never reset.



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

Reply via email to