You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jun Gong (JIRA)" <ji...@apache.org> on 2015/04/11 17:57:12 UTC

[jira] [Updated] (YARN-3389) Avoid race conditions when attempts operate on shared states concurrently

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

Jun Gong updated YARN-3389:
---------------------------
    Summary: Avoid race conditions when attempts operate on shared states concurrently  (was: Two attempts might operate on same data structures concurrently)

> Avoid race conditions when attempts operate on shared states concurrently
> -------------------------------------------------------------------------
>
>                 Key: YARN-3389
>                 URL: https://issues.apache.org/jira/browse/YARN-3389
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.6.0
>            Reporter: Jun Gong
>            Assignee: Jun Gong
>         Attachments: YARN-3389.01.patch
>
>
> In AttemptFailedTransition, the new attempt will get state('justFinishedContainers' and 'finishedContainersSentToAM') reference from the failed attempt. Then the two attempts might operate on these two variables concurrently, e.g. they might update 'justFinishedContainers' concurrently when they are both handling CONTAINER_FINISHED event.



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