[ 
https://issues.apache.org/jira/browse/YARN-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chen He resolved YARN-2263.
---------------------------

    Resolution: Won't Fix

> CSQueueUtils.computeMaxActiveApplicationsPerUser may cause deadlock for 
> nested MapReduce jobs
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-2263
>                 URL: https://issues.apache.org/jira/browse/YARN-2263
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 0.23.10, 2.4.1
>            Reporter: Chen He
>
> computeMaxActiveApplicationsPerUser() has a lower bound "1". For a nested 
> MapReduce job which files new mapreduce jobs in its mapper/reducer, it will 
> cause job stuck.
> public static int computeMaxActiveApplicationsPerUser(
>       int maxActiveApplications, int userLimit, float userLimitFactor) {
>     return Math.max(
>         (int)Math.ceil(
>             maxActiveApplications * (userLimit / 100.0f) * userLimitFactor),
>         1);
>   }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to