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

FairScheduler.initScheduler() contains a surprising unary plus

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 3.0.0-beta1
    • fairscheduler
    • 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

        1. YARN-7132.001.patch
          1 kB
          Yeliang Cang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: