[ https://issues.apache.org/jira/browse/YARN-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273815#comment-15273815 ]
tangshangwen commented on YARN-5051: ------------------------------------ i think we should put the decommission node in InactiveRMNodes when it is registered {code:title=ResourceTrackerService.java|borderStyle=solid} RMNode rmNode = new RMNodeImpl(nodeId, rmContext, host, cmPort, httpPort, resolve(host), capability, nodeManagerVersion); // Check if this node is a 'valid' node if (!this.nodesListManager.isValidNode(host)) { String message = "Disallowed NodeManager from " + host + ", Sending SHUTDOWN signal to the NodeManager."; LOG.info(message); response.setDiagnosticsMessage(message); response.setNodeAction(NodeAction.SHUTDOWN); this.rmContext.getInactiveRMNodes().put(rmNode.getNodeID().getHost(), rmNode); return response; } {code} > The RM can't update the Decommissioned Nodes Metric > --------------------------------------------------- > > Key: YARN-5051 > URL: https://issues.apache.org/jira/browse/YARN-5051 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.7.1 > Reporter: tangshangwen > Assignee: tangshangwen > Attachments: rm.png > > > When the RM restart,the RM will refuse the Decommission NodeManager register, > and I put the NM host removed from exclude_mapred_host file, execute the > command > {noformat} > yarn rmadmin -refreshNodes > {noformat} > start nodemanager , the decommissioned nodes num can not update -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org