[ https://issues.apache.org/jira/browse/YARN-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423910#comment-16423910 ]
Weiwei Yang commented on YARN-7764: ----------------------------------- Hi [~sunilg] Thanks for the pointer, I have run that perf UT 2 resources result: * before: #ResourceTypes = 2. Avg of fastest 20: 44843.05 * after: #ResourceTypes = 2. Avg of fastest 20: 41841.004 5 resource result: * before: #ResourceTypes = 5. Avg of fastest 20: 37950.664 * after: #ResourceTypes = 5. Avg of fastest 20: 31545.742 Not sure how to eval this result. Is it a concerning overhead? > Findbugs warning: Resource#getResources may expose internal representation > -------------------------------------------------------------------------- > > Key: YARN-7764 > URL: https://issues.apache.org/jira/browse/YARN-7764 > Project: Hadoop YARN > Issue Type: Bug > Components: api > Affects Versions: 3.0.0, 3.1.0 > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Major > Labels: findbugs > Attachments: YARN-7764.001.patch > > > Hadoop qbt report: > {noformat} > FindBugs : > module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api > org.apache.hadoop.yarn.api.records.Resource.getResources() may expose > internal representation by returning Resource.resources At Resource.java:by > returning Resource.resources At Resource.java:[line 234] > {noformat} > Introduced by YARN-7136. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org