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:
parent
d93c0b72a2
commit
2da46a4e7a
|
@ -138,6 +138,8 @@ Release 0.23.3 - UNRELEASED
|
||||||
|
|
||||||
HDFS-3020. Fix editlog to automatically sync when buffer is full. (todd)
|
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
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -247,4 +247,13 @@
|
||||||
<Method name="save" />
|
<Method name="save" />
|
||||||
<Bug pattern="OS_OPEN_STREAM" />
|
<Bug pattern="OS_OPEN_STREAM" />
|
||||||
</Match>
|
</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>
|
</FindBugsFilter>
|
||||||
|
|
Loading…
Reference in New Issue