hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1379172 - in /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs: CHANGES.txt dev-support/findbugsExcludeFile.xml
Date Thu, 30 Aug 2012 21:40:29 GMT
Author: eli
Date: Thu Aug 30 21:40:28 2012
New Revision: 1379172

URL: http://svn.apache.org/viewvc?rev=1379172&view=rev
Log:
HDFS-3837. Fix DataNode.recoverBlock findbugs warning. Contributed by Eli Collins

Modified:
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1379172&r1=1379171&r2=1379172&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Thu Aug 30 21:40:28 2012
@@ -696,6 +696,8 @@ Branch-2 ( Unreleased changes )
     HDFS-3864. NN does not update internal file mtime for OP_CLOSE when reading
     from the edit log. (atm)
 
+    HDFS-3837. Fix DataNode.recoverBlock findbugs warning. (eli)
+
   BREAKDOWN OF HDFS-3042 SUBTASKS
 
     HDFS-2185. HDFS portion of ZK-based FailoverController (todd)

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml?rev=1379172&r1=1379171&r2=1379172&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml
(original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml
Thu Aug 30 21:40:28 2012
@@ -273,4 +273,10 @@
        <Method name="quit" />
        <Bug pattern="DM_EXIT" />
      </Match>
+     <!-- Don't complain about recoverBlock equality check -->
+     <Match>
+       <Class name="org.apache.hadoop.hdfs.server.datanode.DataNode" />
+       <Method name="recoverBlock" />
+       <Bug pattern="EC_UNRELATED_TYPES" />
+     </Match>
  </FindBugsFilter>



Mime
View raw message