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/7dcead07 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7dcead07 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7dcead07 Branch: refs/heads/YARN-1011 Commit: 7dcead07b2922d35c5de0f906f1668ed301a7c02 Parents: bdf3e66 Author: Miklos Szegedi <[email protected]> Authored: Mon Nov 20 13:27:32 2017 -0800 Committer: Haibo Chen <[email protected]> Committed: Sun Jan 28 18:08:11 2018 -0800 ---------------------------------------------------------------------- .../hadoop-yarn/dev-support/findbugs-exclude.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/7dcead07/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 6a10312..26ba5b3 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: [email protected] For additional commands, e-mail: [email protected]
