[
https://issues.apache.org/jira/browse/YARN-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162453#comment-16162453
]
Haibo Chen commented on YARN-7132:
----------------------------------
Thanks [~Cyl] for your contribution. I have committed the patch to trunk and
branch-3.0
> FairScheduler.initScheduler() contains a surprising unary plus
> --------------------------------------------------------------
>
> Key: YARN-7132
> URL: https://issues.apache.org/jira/browse/YARN-7132
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Affects Versions: 3.0.0-alpha4
> Reporter: Daniel Templeton
> Priority: Minor
> Labels: newbie
> Fix For: 3.0.0-beta1
>
> Attachments: YARN-7132.001.patch
>
>
> The method contains the following code:{code}
> LOG.warn(FairSchedulerConfiguration.UPDATE_INTERVAL_MS
> + " is invalid, so using default value "
> + +FairSchedulerConfiguration.DEFAULT_UPDATE_INTERVAL_MS
> + " ms instead");{code}
> Note the beginning of the third line. One of those plusses should be deleted
> so that no one else spends cycles trying to understand why it even compiles.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]