hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-3939) CS schedule Userlevel resource usage shown is zero for NodeLabel partition
Date Wed, 22 Jul 2015 18:58:05 GMT

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

Wangda Tan resolved YARN-3939.
------------------------------
    Resolution: Duplicate

Close as duplicated since YARN-3932 is committed.

> 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: 0001-YARN-3939.patch, 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)

Mime
View raw message