[ https://issues.apache.org/jira/browse/MAPREDUCE-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221226#comment-13221226 ]
Hadoop QA commented on MAPREDUCE-3897: -------------------------------------- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12516874/MAPREDUCE-3897-2.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1986//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1986//console This message is automatically generated. > capacity scheduler - maxActiveApplicationsPerUser calculation can be wrong > -------------------------------------------------------------------------- > > Key: MAPREDUCE-3897 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3897 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Thomas Graves > Assignee: Eric Payne > Priority: Critical > Attachments: MAPREDUCE-3897-1.txt, MAPREDUCE-3897-1.txt, > MAPREDUCE-3897-2.txt > > > The capacity scheduler calculates the maxActiveApplications and the > maxActiveApplicationsPerUser based on the config > yarn.scheduler.capacity.maximum-applications or default 10000. > MaxActiveApplications = max ( ceil ( clusterMemory/minAllocation * > maxAMResource% * absoluteMaxCapacity), 1) > MaxActiveAppsPerUser = max( ceil (maxActiveApplicationsComputedAbove * > (userLimit%/100) * userLimitFactor), 1) > maxActiveApplications is already multiplied by the queue absolute MAXIMUM > capacity, so if max capacity > capacity and if you have user limit factor 1 > (which is the default) and only 1 user is running, that user will not be > allowed to use over the queue capacity, so having it relative to MAX capacity > doesn't make sense. That user could easily end up in a deadlock and all its > space used by application masters. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira