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 "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/07/09 21:06:02 UTC
[jira] [Created] (YARN-6781) ResourceUtils.initializeResourcesMap()
takes an unnecessary Map parameter
Daniel Templeton created YARN-6781:
--------------------------------------
Summary: 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
Priority: Minor
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
(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