[
https://issues.apache.org/jira/browse/YARN-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134173#comment-16134173
]
Sunil G commented on YARN-6782:
-------------------------------
I think is handled already. We are no longer loads config every time, using DCL
we avoid it. Marking as Done, please re-open if I missed any other points.
> 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]