[ https://issues.apache.org/jira/browse/YARN-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058137#comment-14058137 ]
Chen He commented on YARN-2263: ------------------------------- Thank you for the comments. Jason Lowe. I will close it. > 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)