Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7764

Findbugs warning: Resource#getResources may expose internal representation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.1.0
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: api
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Hadoop qbt report:

      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]
      

      Introduced by YARN-7136.

        Attachments

        1. YARN-7764.002.patch
          0.6 kB
          Weiwei Yang
        2. YARN-7764.001.patch
          1 kB
          Weiwei Yang

          Issue Links

            Activity

              People

              • Assignee:
                cheersyang Weiwei Yang
                Reporter:
                cheersyang Weiwei Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: