Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7132

FairScheduler.initScheduler() contains a surprising unary plus

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: 3.0.0-beta1
    • Component/s: fairscheduler
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      The method contains the following code:

              LOG.warn(FairSchedulerConfiguration.UPDATE_INTERVAL_MS
                  + " is invalid, so using default value "
                  + +FairSchedulerConfiguration.DEFAULT_UPDATE_INTERVAL_MS
                  + " ms instead");

      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.

        Attachments

          Activity

            People

            • Assignee:
              Cyl Yeliang Cang
              Reporter:
              templedf Daniel Templeton
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: