HDFS-3038. Add FSEditLog.metrics to findbugs exclude list. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1296019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6da670ce6a
commit
8a99218853
|
@ -261,6 +261,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