[ 
https://issues.apache.org/jira/browse/YARN-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327514#comment-14327514
 ] 

Brahma Reddy Battula commented on YARN-3204:
--------------------------------------------

Updateinterval is read from initilzataion of fairschduler, so it will not 
change.. Hence need not be protected by a lock for following piece of code..I 
want to add this in findbug-exclude file...

{code}
public void run() {
      while (!Thread.currentThread().isInterrupted()) {
        try {
          Thread.sleep(updateInterval);
          long start = getClock().getTime();
          update();
{code}



> Fix new findbug warnings 
> inhadoop-yarn-server-resourcemanager(resourcemanager.scheduler.fair)
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-3204
>                 URL: https://issues.apache.org/jira/browse/YARN-3204
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: YARN-3204-001.patch
>
>
> Please check following findbug report..
> https://builds.apache.org/job/PreCommit-YARN-Build/6644//artifact/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to