Enhance logging of initalized queue limit values
------------------------------------------------

                 Key: MAPREDUCE-3341
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3341
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
          Components: mrv2
            Reporter: Anupam Seth
            Assignee: Anupam Seth


Currently the RM log shows only a partial set of the limits that are configured 
when a queue is initialized / reinitialized.

For example, this is what is currently shown in the RM log for an initialized 
queue:
# <datestamp> INFO 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue: 
Initializing
default, capacity=0.25, asboluteCapacity=0.25, maxCapacity=25.0, 
asboluteMaxCapacity=0.25, userLimit=100,
userLimitFactor=20.0, maxApplications=2500, maxApplicationsPerUser=50000, 
state=RUNNING,
acls=ADMINISTER_QUEUE:*SUBMIT_JOB:*ADMINISTER_JOBS:*

Breaking down the line above, shows: 

capacity=0.25
asboluteCapacity=0.25
maxCapacity=25.0
asboluteMaxCapacity=0.25
userLimit=100
userLimitFactor=20.0
maxApplications=2500
maxApplicationsPerUser=50000

It might be nice if we could include more information such as 
maxActiveApplications, maxActiveApplicationsPerUser, utilization, and 
usedCapacity along with information on how each of these is computed (i.e. 
formulae used) (Thanks to Phil Su for requesting this).



--
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

        

Reply via email to