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 "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/04/03 08:44:00 UTC

[jira] [Updated] (YARN-7764) Findbugs warning: Resource#getResources may expose internal representation

     [ https://issues.apache.org/jira/browse/YARN-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weiwei Yang updated YARN-7764:
------------------------------
    Priority: Major  (was: Minor)

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