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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1379185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-08-30 22:09:42 +00:00
parent e591c4f4dc
commit d1b90a3e93
2 changed files with 8 additions and 0 deletions

View File

@ -525,6 +525,8 @@ Release 2.0.1-alpha - UNRELEASED
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>