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 "zhihai xu (JIRA)" <ji...@apache.org> on 2014/07/20 09:11:38 UTC

[jira] [Updated] (YARN-2324) Race condition in continuousScheduling for FairScheduler

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

zhihai xu updated YARN-2324:
----------------------------

    Attachment: YARN-2324.000.patch

> Race condition in continuousScheduling for FairScheduler
> --------------------------------------------------------
>
>                 Key: YARN-2324
>                 URL: https://issues.apache.org/jira/browse/YARN-2324
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-2324.000.patch
>
>
> Race condition in continuousScheduling for FairScheduler.
> removeNode can run when continuousScheduling is called in schedulingThread. If the node is removed from nodes, nodes.get(n2) and getFSSchedulerNode(nodeId) will be null. So we need add lock to remove the NPE/race conditions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)