HDFS-3038. Add FSEditLog.metrics to findbugs exclude list. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1296021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2012-03-02 01:38:56 +00:00
parent d93c0b72a2
commit 2da46a4e7a
2 changed files with 11 additions and 0 deletions

View File

@ -138,6 +138,8 @@ Release 0.23.3 - UNRELEASED
HDFS-3020. Fix editlog to automatically sync when buffer is full. (todd)
HDFS-3038. Add FSEditLog.metrics to findbugs exclude list. (todd via atm)
Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -247,4 +247,13 @@
<Method name="save" />
<Bug pattern="OS_OPEN_STREAM" />
</Match>
<!--
the 'metrics' member is sometimes used from synchronized blocks, sometimes not,
but it's only reset by test cases, so should be fine
-->
<Match>
<Class name="org.apache.hadoop.hdfs.server.namenode.FSEditLog" />
<Field name="metrics" />
<Bug pattern="IS2_INCONSISTENT_SYNC" />
</Match>
</FindBugsFilter>