YARN-7460. Exclude findbugs warnings on SchedulerNode.numGuaranteedContainers 
and numOpportunisticContainers. Contributed by Haibo Chen.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/391014e1
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/391014e1
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/391014e1

Branch: refs/heads/YARN-1011
Commit: 391014e14a8f924ab5fd48ba4d18e01989b32edd
Parents: 8993b0c
Author: Miklos Szegedi <szege...@apache.org>
Authored: Mon Nov 20 13:27:32 2017 -0800
Committer: Haibo Chen <haiboc...@apache.org>
Committed: Mon Jun 4 17:19:21 2018 -0700

----------------------------------------------------------------------
 .../hadoop-yarn/dev-support/findbugs-exclude.xml          | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/391014e1/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
----------------------------------------------------------------------
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 5841361..1c07b53 100644
--- a/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
+++ b/hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml
@@ -76,6 +76,16 @@
     <Bug pattern="VO_VOLATILE_INCREMENT" />
   </Match>
   <Match>
+    <Class 
name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerNode" />
+    <Field name="numOpportunisticContainers" />
+    <Bug pattern="VO_VOLATILE_INCREMENT" />
+  </Match>
+  <Match>
+    <Class 
name="org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerNode" />
+    <Field name="numGuaranteedContainers" />
+    <Bug pattern="VO_VOLATILE_INCREMENT" />
+  </Match>
+  <Match>
     <Class 
name="org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl$AppRejectedTransition"
 />
     <Bug pattern="BC_UNCONFIRMED_CAST" />
   </Match>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to