You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/03/03 19:25:45 UTC

[jira] [Created] (YARN-6284) hasAlreadyRun should be final in ResourceManager.StandbyTransitionRunnable

Daniel Templeton created YARN-6284:
--------------------------------------

             Summary: hasAlreadyRun should be final in ResourceManager.StandbyTransitionRunnable
                 Key: YARN-6284
                 URL: https://issues.apache.org/jira/browse/YARN-6284
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: resourcemanager
    Affects Versions: 3.0.0-alpha2
            Reporter: Daniel Templeton


{code}
    // The atomic variable to make sure multiple threads with the same runnable
    // run only once.
    private AtomicBoolean hasAlreadyRun = new AtomicBoolean(false);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org