[ https://issues.apache.org/jira/browse/YARN-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752843#comment-13752843 ]
Thomas Graves commented on YARN-1101: ------------------------------------- thanks Rob. +1 Patch looks good. We should file a separate jira to add in tests for the metrics the healthy state transitions. > Active nodes can be decremented below 0 > --------------------------------------- > > Key: YARN-1101 > URL: https://issues.apache.org/jira/browse/YARN-1101 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 3.0.0, 0.23.9, 2.0.6-alpha > Reporter: Robert Parker > Assignee: Robert Parker > Attachments: YARN-1101_b0.23_v1.patch, YARN-1101_v1.patch > > > The issue is in RMNodeImpl where both RUNNING and UNHEALTHY states that > transition to a deactive state (LOST, DECOMMISSIONED, REBOOTED) use the same > DeactivateNodeTransition class. The DeactivateNodeTransition class naturally > decrements the active node, however the in cases where the node has > transition to UNHEALTHY the active count has already been decremented. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira