hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r925559 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/findbugsExcludeFile.xml
Date Sat, 20 Mar 2010 07:17:22 GMT
Author: cdouglas
Date: Sat Mar 20 07:17:21 2010
New Revision: 925559

URL: http://svn.apache.org/viewvc?rev=925559&view=rev
Log:
MAPREDUCE-1497. Suppress spurious findbugs warning about IndexCache
synchronization. Contributed by Amareshwari Sriramadasu

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/findbugsExcludeFile.xml

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=925559&r1=925558&r2=925559&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Sat Mar 20 07:17:21 2010
@@ -477,6 +477,9 @@ Trunk (unreleased changes)
     MAPREDUCE-1508. Protect against NPE in TestMultipleLevelCaching. (Aaron
     Kimball via cdouglas)
 
+    MAPREDUCE-1497. Suppress spurious findbugs warning about IndexCache
+    synchronization. (Amareshwari Sriramadasu via cdouglas)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/trunk/src/test/findbugsExcludeFile.xml
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/findbugsExcludeFile.xml?rev=925559&r1=925558&r2=925559&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/findbugsExcludeFile.xml (original)
+++ hadoop/mapreduce/trunk/src/test/findbugsExcludeFile.xml Sat Mar 20 07:17:21 2010
@@ -196,6 +196,15 @@
        <Method name="getSplits" />
        <Bug pattern="DLS_DEAD_LOCAL_STORE" />
      </Match>
+     <!--
+       org.apache.hadoop.mapred.IndexCache is thread-safe. It does not need
+       synchronous access. 
+      -->
+     <Match>
+       <Class name="org.apache.hadoop.mapred.TaskTracker" />
+       <Field name="indexCache" />
+       <Bug pattern="IS2_INCONSISTENT_SYNC" />
+     </Match>
     <!--
       None of the following variables should be referenced by any thread
       but the collection thread in MapTask



Mime
View raw message