hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6953) Clean up ResourceUtils.setMinimumAllocationForMandatoryResources() and setMaximumAllocationForMandatoryResources()
Date Fri, 04 Aug 2017 19:29:00 GMT
Daniel Templeton created YARN-6953:
--------------------------------------

             Summary: Clean up ResourceUtils.setMinimumAllocationForMandatoryResources() and
setMaximumAllocationForMandatoryResources()
                 Key: YARN-6953
                 URL: https://issues.apache.org/jira/browse/YARN-6953
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: resourcemanager
    Affects Versions: YARN-3926
            Reporter: Daniel Templeton
            Priority: Minor


The {{setMinimumAllocationForMandatoryResources()}} and {{setMaximumAllocationForMandatoryResources()}}
methods are quite convoluted.  They'd be much simpler if they just handled CPU and memory
manually instead of trying to be clever about doing it in a loop.  There are also issues,
such as the log warning always talking about memory or the last element of the inner array
being a copy of the first element.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message