HDFS-3837. Fix DataNode.recoverBlock findbugs warning. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1379172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-08-30 21:40:28 +00:00
parent 65e447cd8b
commit 34d1e73235
2 changed files with 8 additions and 0 deletions

View File

@ -696,6 +696,8 @@ Branch-2 ( Unreleased changes )
HDFS-3864. NN does not update internal file mtime for OP_CLOSE when reading HDFS-3864. NN does not update internal file mtime for OP_CLOSE when reading
from the edit log. (atm) from the edit log. (atm)
HDFS-3837. Fix DataNode.recoverBlock findbugs warning. (eli)
BREAKDOWN OF HDFS-3042 SUBTASKS BREAKDOWN OF HDFS-3042 SUBTASKS
HDFS-2185. HDFS portion of ZK-based FailoverController (todd) HDFS-2185. HDFS portion of ZK-based FailoverController (todd)

View File

@ -273,4 +273,10 @@
<Method name="quit" /> <Method name="quit" />
<Bug pattern="DM_EXIT" /> <Bug pattern="DM_EXIT" />
</Match> </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> </FindBugsFilter>