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] [Created] (YARN-7132) FairScheduler.initScheduler() contains a surprising unary plus
Date Wed, 30 Aug 2017 21:35:00 GMT
Daniel Templeton created YARN-7132:

             Summary: 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

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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message