hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2325) need check whether node is null in nodeUpdate for FairScheduler
Date Mon, 21 Jul 2014 06:36:39 GMT

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

Tsuyoshi OZAWA commented on YARN-2325:
--------------------------------------

Hi [~zxu], could you explain the case when nodeUpdate is called after removeNode? IIUC, RMNodeImpl
state machine assures that nodeUpdate is not called after removeNode without adding the node.
In concrete, NodeRemovedSchedulerEvent arises only in ReconnectNodeTransition/DeactivateNodeTransition.


* ReconnectNodeTransition assures that new node is added after the transition with same node
id. 
* DeactivateNodeTransition assures that the nodes will be DECOMMISSIONED, and the node won't
be updated.

If the transition you mentioned occurs, it might be bug of state-machine transition. Please
correct me if I'm wrong.

> need check whether node is null in nodeUpdate for FairScheduler 
> ----------------------------------------------------------------
>
>                 Key: YARN-2325
>                 URL: https://issues.apache.org/jira/browse/YARN-2325
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-2325.000.patch
>
>
> need check whether node is null in nodeUpdate for FairScheduler.
> If nodeUpdate is called after removeNode, the getFSSchedulerNode will be null. If the
node is null, we should return with error message.



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

Mime
View raw message