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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to