You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2017/09/08 00:42:00 UTC

[jira] [Commented] (YARN-7132) FairScheduler.initScheduler() contains a surprising unary plus

    [ https://issues.apache.org/jira/browse/YARN-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157933#comment-16157933 ] 

Haibo Chen commented on YARN-7132:
----------------------------------

Thanks [~Cyl] for the path. LGTM +1.

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