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

FairScheduler.initScheduler() contains a surprising unary plus

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment