zhihai xu created YARN-2324:
-------------------------------
Summary: 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
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)