You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Wangda Tan (JIRA)" <ji...@apache.org> on 2017/08/28 23:03:00 UTC

[jira] [Created] (YARN-7116) CapacityScheduler Web UI: Queue's AM usage is always show on per-user's AM usage.

Wangda Tan created YARN-7116:
--------------------------------

             Summary: CapacityScheduler Web UI: Queue's AM usage is always show on per-user's AM usage.
                 Key: YARN-7116
                 URL: https://issues.apache.org/jira/browse/YARN-7116
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.0.0-alpha4, 2.8.1, 2.9.0
            Reporter: Wangda Tan
            Assignee: Wangda Tan


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. 

{code}
        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()))._();
{code}

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org