You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Sunil G (JIRA)" <ji...@apache.org> on 2017/08/19 16:38:01 UTC
[jira] [Resolved] (YARN-6782) ResourceUtils.getResourceTypes()
reloads the resource configuration every time
[ 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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org