AllocatedGB etc metrics incorrect if min-allocation-mb isn't a multiple of 1GB
------------------------------------------------------------------------------

                 Key: MAPREDUCE-3764
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3764
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.0
            Reporter: Siddharth Seth
            Priority: Critical


MutableGaugeInt incremented as {{allocatedGB.incr(res.getMemory() / GB * 
containers);}}

Setting yarn.scheduler.capacity.minimum-allocation-mb to 1536 - each increment 
is counted as 1GB.
Trying to analyze the metrics - looks like the cluster is never over 67-68% 
utilized, depending on high ram requests.

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