hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7132) FairScheduler.initScheduler() contains a surprising unary plus
Date Fri, 08 Sep 2017 00:42:00 GMT

    [ 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


Mime
View raw message