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

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

    [ https://issues.apache.org/jira/browse/YARN-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067821#comment-14067821 ] 

Wei Yan commented on YARN-2324:
-------------------------------

duplicate of YARN-2273?

> 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
>
> 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)