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.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

            • Assignee:
              leftnoteasy Wangda Tan
              Reporter:
              leftnoteasy Wangda Tan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment