[
https://issues.apache.org/jira/browse/YARN-6284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935118#comment-15935118
]
Daniel Templeton commented on YARN-6284:
----------------------------------------
Thanks for the patch, [~laura.adams]. LGTM. +1 I'll get it committed when I
get a chance.
> 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
> Assignee: Laura Adams
> Labels: newbie
> Attachments: YARN-6284.001.patch
>
>
> {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]