[ https://issues.apache.org/jira/browse/YARN-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127433#comment-16127433 ]
Yu-Tang Lin commented on YARN-6781: ----------------------------------- Hi Daniel, thanks for submit this issue. I would like to take this task! > 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 > Labels: newbie > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org