This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new ecf88b9  YARN-10358. Fix findbugs warnings in hadoop-yarn-project on 
branch-2.10. (#2164)
ecf88b9 is described below

commit ecf88b972f6c9d90f3204c477c966c013d76fc84
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Mon Aug 31 13:52:29 2020 +0900

    YARN-10358. Fix findbugs warnings in hadoop-yarn-project on branch-2.10. 
(#2164)
---
 .../hadoop-yarn/dev-support/findbugs-exclude.xml             | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml 
b/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
index e6dcefb..d8a2037 100644
--- a/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
+++ b/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
@@ -641,4 +641,16 @@
     <Bug pattern="EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC" />
   </Match>
 
+  <!-- Ignore WMI_WRONG_MAP_ITERATOR for EnumMap -->
+  <Match>
+    <Class name="org.apache.hadoop.yarn.state.StateMachineFactory" />
+    <Method name="generateStateGraph" />
+    <Bug pattern="WMI_WRONG_MAP_ITERATOR" />
+  </Match>
+
+  <Match>
+    <Class 
name="org.apache.hadoop.yarn.server.timelineservice.storage.common.ColumnRWHelper"
 />
+    <Method name="readResultsWithTimestamps" />
+    <Bug pattern="BX_UNBOXING_IMMEDIATELY_REBOXED" />
+  </Match>
 </FindBugsFilter>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to