Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2985

findbugs error in ResourceLocalizationService.handle(LocalizationEvent)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None

      Description

      hudson mapreduce is reporting a findbugs error:
      https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/707//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-nodemanager.html

      WMI Method org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService.handle(LocalizationEvent) makes inefficient use of keySet iterator instead of entrySet iterator

      Bug type WMI_WRONG_MAP_ITERATOR (click for details)
      In class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService
      In method org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService.handle(LocalizationEvent)
      At ResourceLocalizationService.java:[line 295]
      Another occurrence at ResourceLocalizationService.java:[line 318]

        Activity

        Thomas Graves created issue -
        Thomas Graves made changes -
        Field Original Value New Value
        Assignee Thomas Graves [ tgraves ]
        Thomas Graves made changes -
        Fix Version/s 0.23.0 [ 12315570 ]
        Affects Version/s 0.23.0 [ 12315570 ]
        Thomas Graves made changes -
        Attachment MAPREDUCE-2985.patch [ 12494125 ]
        Thomas Graves made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Arun C Murthy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320354 ]
        Affects Version/s 0.24.0 [ 12317654 ]
        Fix Version/s 2.0.0-alpha [ 12320354 ]
        Fix Version/s 0.24.0 [ 12317654 ]
        Allen Wittenauer made changes -
        Fix Version/s 2.0.0-alpha [ 12320354 ]

          People

          • Assignee:
            Thomas Graves
            Reporter:
            Thomas Graves
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development