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

Priority#compareTo method seems to be wrong.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1-beta
    • None
    • None
    • Reviewed

    Description

      if lower int value means higher priority, shouldn't we "return other.getPriority() - this.getPriority() "

      Attachments

        1. YARN-881.patch
          3 kB
          Jian He
        2. YARN-881.1.patch
          3 kB
          Jian He

        Activity

          People

            jianhe Jian He
            jianhe Jian He
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: