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.

    XMLWordPrintableJSON

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

        1. YARN-7116.001.patch
          1 kB
          Wangda Tan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: