hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2907) SchedulerNode#toString should print all resource detail instead of only memory.
Date Wed, 26 Nov 2014 13:43:13 GMT

    [ https://issues.apache.org/jira/browse/YARN-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226187#comment-14226187
] 

Rohith commented on YARN-2907:
------------------------------

I ran the same test case local build. It is running. Checked code, failures are unrelated
to this fix.

> 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
>         Attachments: 0001-YARN-2907.patch
>
>
> 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)

Mime
View raw message