You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by cd...@apache.org on 2010/03/20 08:17:22 UTC
svn commit: r925559 - in /hadoop/mapreduce/trunk: CHANGES.txt
src/test/findbugsExcludeFile.xml
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