hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6782) ResourceUtils.getResourceTypes() reloads the resource configuration every time
Date Sat, 19 Aug 2017 16:38:01 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message