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 "Jonathan Hung (Jira)" <ji...@apache.org> on 2019/08/30 02:40:00 UTC
[jira] [Updated] (YARN-6781) ResourceUtils#initializeResourcesMap
takes an unnecessary Map parameter
[ https://issues.apache.org/jira/browse/YARN-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hung updated YARN-6781:
--------------------------------
Fix Version/s: 2.10.0
> ResourceUtils#initializeResourcesMap takes an unnecessary Map parameter
> -----------------------------------------------------------------------
>
> Key: YARN-6781
> URL: https://issues.apache.org/jira/browse/YARN-6781
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: YARN-3926
> Reporter: Daniel Templeton
> Assignee: Yu-Tang Lin
> Priority: Minor
> Labels: newbie
> Fix For: 3.0.0, 3.1.0, 2.10.0
>
> Attachments: YARN-6781-YARN-3926.002.patch, YARN-6781-YARN-3926.003.patch, YARN-6781-YARN-3926.004.patch, YARN-6781.001.patch, YARN-6781.branch-3.0.001.patch
>
>
> The {{resourceInformationMap}} parameter is always passed in as a new {{Map}} object, and it's never referenced again after the call. The parameter can be eliminated. Instead the {{Map}} can be created inside the {{initializeResourcesMap()}} method.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org