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 "Rohith (JIRA)" <ji...@apache.org> on 2014/11/26 11:26:12 UTC

[jira] [Created] (YARN-2907) SchedulerNode#toString should print all resource detail instead of only memory.

Rohith created YARN-2907:
----------------------------

             Summary: SchedulerNode#toString should print all resource detail instead of only memory.
                 Key: YARN-2907
                 URL: https://issues.apache.org/jira/browse/YARN-2907
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 2.6.0
            Reporter: Rohith
            Assignee: Rohith
            Priority: Trivial



SchedulerNode#toString display only memory. It should display both memory and cpu. It helps while analyzing logs
{code}
  @Override
  public String toString() {
    return "host: " + rmNode.getNodeAddress() + " #containers="
        + getNumContainers() + " available="
        + getAvailableResource().getMemory() + " used="
        + getUsedResource().getMemory();
  }
{code}



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