Repository: hadoop Updated Branches: refs/heads/YARN-1011 561410c78 -> f2b85d6c1
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/f2b85d6c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f2b85d6c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f2b85d6c Branch: refs/heads/YARN-1011 Commit: f2b85d6c1bc24fa6cb280bed374b2261920a743e Parents: 561410c Author: Miklos Szegedi <miklos.szeg...@cloudera.com> Authored: Mon Nov 20 13:27:32 2017 -0800 Committer: Miklos Szegedi <miklos.szeg...@cloudera.com> Committed: Mon Nov 20 13:27:32 2017 -0800 ---------------------------------------------------------------------- .../hadoop-yarn/dev-support/findbugs-exclude.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/f2b85d6c/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 2aa9a5c..2fd7071 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