[ https://issues.apache.org/jira/browse/YARN-7460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246351#comment-16246351 ]
Miklos Szegedi commented on YARN-7460: -------------------------------------- Thank you for the patch [~haibochen]. The callers are synchronized, so there is no race condition indeed. However, why do we need the volatile in the first place? > Exclude findbugs warnings on SchedulerNode.numGuaranteedContainers and > numOpportunisticContainers > ------------------------------------------------------------------------------------------------- > > Key: YARN-7460 > URL: https://issues.apache.org/jira/browse/YARN-7460 > Project: Hadoop YARN > Issue Type: Sub-task > Affects Versions: YARN-1011 > Reporter: Haibo Chen > Assignee: Haibo Chen > Attachments: YARN-7460-YARN-1011.00.patch > > > The findbug warnings as in > https://builds.apache.org/job/PreCommit-YARN-Build/18390/artifact/out/branch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-warnings.html > are bogus. We should exclude it in > hadoop-yarn-project/hadoop-yarn/dev-support/findbugs-exclude.xml. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org