[ https://issues.apache.org/jira/browse/YARN-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752852#comment-13752852 ]
Robert Parker commented on YARN-1101: ------------------------------------- Tom, Thanks for the review. I have added YARN-1119 to address improving the other tests in this Test Class. > 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