Bibin A Chundatt created YARN-3939:

             Summary: CS schedule Userlevel resource usage shown is zero for 
NodeLabel partition
                 Key: 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

  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
    return usersToReturn;

Should get usage for particular user and label

This message was sent by Atlassian JIRA

Reply via email to