hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-6284) hasAlreadyRun should be final in ResourceManager.StandByTransitionRunnable
Date Fri, 03 Mar 2017 19:25:45 GMT

     [ https://issues.apache.org/jira/browse/YARN-6284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Templeton updated YARN-6284:
-----------------------------------
    Summary: hasAlreadyRun should be final in ResourceManager.StandByTransitionRunnable  (was:
hasAlreadyRun should be final in ResourceManager.StandbyTransitionRunnable)

> 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
>              Labels: newbie
>
> {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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message