Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3939

CS schedule Userlevel resource usage shown is zero for NodeLabel partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • capacityscheduler
    • None
    • Suse 11 SP3

    Description

      Submit application to queue and particular node label partition
      Check the resource usage for particular user in queue

      LeafQueue#getUsers()

        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;
        }
      

      Should get usage for particular user and label

      Attachments

        1. 0001-YARN-3939.patch
          2 kB
          Bibin Chundatt
        2. ResourceUsage.jpg
          14 kB
          Bibin Chundatt

        Issue Links

          Activity

            People

              bibinchundatt Bibin Chundatt
              bibinchundatt Bibin Chundatt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: