findbugs error in ResourceLocalizationService.handle(LocalizationEvent)
-----------------------------------------------------------------------

                 Key: MAPREDUCE-2985
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2985
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.24.0
            Reporter: Thomas Graves
             Fix For: 0.24.0


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]



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to