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 "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2015/07/20 11:31:05 UTC

[jira] [Updated] (YARN-3939) CS schedule Userlevel resource usage shown is zero for NodeLabel partition

     [ https://issues.apache.org/jira/browse/YARN-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bibin A Chundatt updated YARN-3939:
-----------------------------------
    Attachment: ResourceUsage.jpg

> CS schedule Userlevel resource usage shown is zero for NodeLabel partition
> --------------------------------------------------------------------------
>
>                 Key: YARN-3939
>                 URL: https://issues.apache.org/jira/browse/YARN-3939
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>         Environment: Suse 11 SP3 
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>         Attachments: ResourceUsage.jpg
>
>
> Submit application to queue and particular node label partition
> Check the resource usage for particular user in queue
> {{LeafQueue#getUsers()}}
> {code}
>   public synchronized ArrayList<UserInfo> getUsers() {
>     ArrayList<UserInfo> usersToReturn = new ArrayList<UserInfo>();
>     for (Map.Entry<String, User> entry : users.entrySet()) {
>       User user = entry.getValue();
>       usersToReturn.add(new UserInfo(entry.getKey(), Resources.clone(user
>           .getUsed()), user.getActiveApplications(), user
>           .getPendingApplications(), Resources.clone(user
>           .getConsumedAMResources()), Resources.clone(user
>           .getUserResourceLimit())));
>     }
>     return usersToReturn;
>   }
> {code}
> Should get usage for particular user and label



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