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

Reply via email to