Wei Yan commented on YARN-2539:

bq. And, there may be a bug in the maxAMShare calculation. When one queue 
receives the first application, its fair share is still 0, which means the 
queue cannot accept the AM container. I'm double checking this problem.
This cannot happen. The only concern is that the first application to an empty 
queue may need to wait for 0.5 second. The updateThread will set the update the 
fair share from 0 to a new value; only after that, this application has chance 
to run.

> FairScheduler: Update the default value for maxAMShare
> ------------------------------------------------------
>                 Key: YARN-2539
>                 URL: https://issues.apache.org/jira/browse/YARN-2539
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>            Priority: Minor
>         Attachments: YARN-2539-1.patch
> Currently, the maxAMShare per queue is -1 in default, which disables the AM 
> share constraint. Change to 0.5f would be good.

This message was sent by Atlassian JIRA

Reply via email to