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

CapacityScheduler Web UI: Queue's AM usage is always show on per-user's AM usage.

    Details

      Description

      On CapacityScheduler's web UI, AM usage of different users belong to the same queue always shows queue's AM usage.

      The root cause is: under CapacitySchedulerPage.

              tbody.tr().td(userInfo.getUsername())
                  .td(userInfo.getUserResourceLimit().toString())
                  .td(resourcesUsed.toString())
                  .td(resourceUsages.getAMLimit().toString())
                  .td(amUsed.toString())
                  .td(Integer.toString(userInfo.getNumActiveApplications()))
                  .td(Integer.toString(userInfo.getNumPendingApplications()))._();
      

      Instead of amUsed.toString(), it should use userInfo.getAmUsed().

        Attachments

          Activity

            People

            • Assignee:
              leftnoteasy Wangda Tan
              Reporter:
              leftnoteasy Wangda Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: