[ 
https://issues.apache.org/jira/browse/YARN-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892738#comment-13892738
 ] 

Sandy Ryza commented on YARN-1414:
----------------------------------

bq. After it updates the root queue, it will then update the child queue.
Where are you seeing that happen?  From what I can tell, children update their 
parents, but not the other way around:

{code}
  public void unreserveResource(String user, Resource res) {
    reservedContainers.decr();
    reservedMB.decr(res.getMemory());
    reservedVCores.decr(res.getVirtualCores());
    QueueMetrics userMetrics = getUserMetrics(user);
    if (userMetrics != null) {
      userMetrics.unreserveResource(user, res);
    }
    if (parent != null) {
      parent.unreserveResource(user, res);
    }
  }
{code}

> with Fair Scheduler reserved MB in WebUI is leaking when killing waiting jobs
> -----------------------------------------------------------------------------
>
>                 Key: YARN-1414
>                 URL: https://issues.apache.org/jira/browse/YARN-1414
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager, scheduler
>    Affects Versions: 2.0.5-alpha
>            Reporter: Siqi Li
>            Assignee: Siqi Li
>             Fix For: 2.2.0
>
>         Attachments: YARN-1221-subtask.v1.patch.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to