[ 
https://issues.apache.org/jira/browse/YARN-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G resolved YARN-6782.
---------------------------
    Resolution: Done

> ResourceUtils.getResourceTypes() reloads the resource configuration every time
> ------------------------------------------------------------------------------
>
>                 Key: YARN-6782
>                 URL: https://issues.apache.org/jira/browse/YARN-6782
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: YARN-3926
>            Reporter: Daniel Templeton
>            Priority: Minor
>              Labels: newbie++
>
> Many objects need to collect the list of configured resources upon creation.  
> The only way do that now is by calling {{getResourceTypes()}}, which reloads 
> the config.  The net result is that the config is loaded and reloaded over 
> and over again during startup.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to