[ https://issues.apache.org/jira/browse/YARN-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268171#comment-14268171 ]
Rohith commented on YARN-3013: ------------------------------ There will not be any possibility of deadlock by adding synchronized key word to methods.It should be fine > Findbugs warning aboutAbstractYarnScheduler.rmContext > ----------------------------------------------------- > > Key: YARN-3013 > URL: https://issues.apache.org/jira/browse/YARN-3013 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Zhijie Shen > Assignee: Rohith > > {code} > Bug type IS2_INCONSISTENT_SYNC (click for details) > In class > org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler > Field > org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.rmContext > Synchronized 91% of the time > {code} > See > https://builds.apache.org/job/PreCommit-YARN-Build/6266//artifact/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html#IS2_INCONSISTENT_SYNC > for more details -- This message was sent by Atlassian JIRA (v6.3.4#6332)