You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/07/09 21:09:00 UTC
[jira] [Created] (YARN-6782) ResourceUtils.getResourceTypes()
reloads the resource configuration every time
Daniel Templeton created YARN-6782:
--------------------------------------
Summary: 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
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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org