Tao Yang edited comment on YARN-8127 at 4/11/18 4:00 AM:

Thanks [~cheersyang] for your suggestion.

LGTM, Attached v3 patch to simplify the check logic.

was (Author: tao yang):
Attached v3 patch to simplify the check logic.

> Resource leak when async scheduling is enabled
> ----------------------------------------------
>                 Key: YARN-8127
>                 URL: https://issues.apache.org/jira/browse/YARN-8127
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Weiwei Yang
>            Assignee: Tao Yang
>            Priority: Critical
>         Attachments: YARN-8127.001.patch, YARN-8127.002.patch, 
> YARN-8127.003.patch
> Brief steps to reproduce
>  # Enable async scheduling, 5 threads
>  # Submit a lot of jobs trying to exhaust cluster resource
>  # After a while, observed NM allocatedĀ resourceĀ is more than resource 
> requested by allocated containers
> Looks like the commit phase is not sync handling reserved containers, causing 
> some proposal incorrectly accepted, subsequently resource was deducted 
> multiple times for a container.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to