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 "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2016/03/30 10:40:25 UTC

[jira] [Commented] (YARN-4898) Avoid sending NODE_LABELS_UPDATE event to scheduler when node label is not configured

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

Bibin A Chundatt commented on YARN-4898:
----------------------------------------

Probably we can skip the RMNodeLabelsManager#updateResourceMappings when label not enabled

> Avoid sending NODE_LABELS_UPDATE event to scheduler when node label is not configured
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-4898
>                 URL: https://issues.apache.org/jira/browse/YARN-4898
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Rohith Sharma K S
>
> It is observed that when ever new NodeManager is registered or expired with ResourceManager, a new additional event NODE_LABELS_UPDATE has been triggered even though *Node Label is not enabled*. This makes dispatcher to process one event without any real use. 
> logs : where all 100 of node-labels-update events processed by dispatcher. 
> {noformat}
> 2016-03-30 15:42:24,461 DEBUG [AsyncDispatcher event handler] event.AsyncDispatcher (AsyncDispatcher.java:dispatch(175)) - Dispatching the event org.apache.hadoop.yarn.server.resourcemanager.scheduler.event.NodeLabelsUpdateSchedulerEvent.EventType: NODE_LABELS_UPDATE
> 2016-03-30 15:42:24,461 DEBUG [AsyncDispatcher event handler] event.AsyncDispatcher (AsyncDispatcher.java:dispatch(175)) - Dispatching the event org.apache.hadoop.yarn.server.resourcemanager.scheduler.event.NodeLabelsUpdateSchedulerEvent.EventType: NODE_LABELS_UPDATE
> 2016-03-30 15:42:24,462 DEBUG [AsyncDispatcher event handler] event.AsyncDispatcher (AsyncDispatcher.java:dispatch(175)) - Dispatching the event org.apache.hadoop.yarn.server.resourcemanager.scheduler.event.NodeLabelsUpdateSchedulerEvent.EventType: NODE_LABELS_UPDATE
> 2016-03-30 15:42:24,462 DEBUG [AsyncDispatcher event handler] event.AsyncDispatcher (AsyncDispatcher.java:dispatch(175)) - Dispatching the event org.apache.hadoop.yarn.server.resourcemanager.scheduler.event.NodeLabelsUpdateSchedulerEvent.EventType: NODE_LABELS_UPDATE
> {noformat}
> Point of concern is In large cluster, it is seen that registering thousands of nodes altogether to running cluster might/would cause other events processing to get delayed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)