YARN-2901 addendum: Fixed findbugs warning caused by previously patch

This commit is contained in:
Wangda Tan 2015-04-08 11:02:06 -07:00
parent 7af086a515
commit ba9ee22ca4
1 changed files with 10 additions and 1 deletions

View File

@ -462,4 +462,13 @@
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" /> <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
</Match> </Match>
<!-- Following fields are used in ErrorsAndWarningsBlock, which is not a part of analysis of findbugs -->
<Match>
<Class name="org.apache.hadoop.yarn.util.Log4jWarningErrorMetricsAppender$Element" />
<Or>
<Field name="count" />
<Field name="timestampSeconds" />
</Or>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
</Match>
</FindBugsFilter> </FindBugsFilter>