YARN-2901 addendum: Fixed findbugs warning caused by previously patch
This commit is contained in:
parent
7af086a515
commit
ba9ee22ca4
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue