hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuhu Shukla (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9206) RMServerUtils does not count SHUTDOWN as an accepted state
Date Thu, 17 Jan 2019 22:51:00 GMT
Kuhu Shukla created YARN-9206:
---------------------------------

             Summary: RMServerUtils does not count SHUTDOWN as an accepted state
                 Key: YARN-9206
                 URL: https://issues.apache.org/jira/browse/YARN-9206
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.0.3
            Reporter: Kuhu Shukla
            Assignee: Kuhu Shukla


{code}
if (acceptedStates.contains(NodeState.DECOMMISSIONED) ||
        acceptedStates.contains(NodeState.LOST) ||
        acceptedStates.contains(NodeState.REBOOTED)) {
      for (RMNode rmNode : context.getInactiveRMNodes().values()) {
        if ((rmNode != null) && acceptedStates.contains(rmNode.getState())) {
          results.add(rmNode);
        }
      }
    }
    return results;
  }
{code}
This should include SHUTDOWN state as they are inactive too. This method is used for node
reports and such so might be useful to account for them as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message