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

Fix wrong MockLocalizerStatus#equals implementation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: nodemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      "return getLocalizerId().equals(other) && ...;" should be
      "return getLocalizerId().equals(other. getLocalizerId()) && ...;"

      getLocalizerId() returns String. It's expected to compare this.getLocalizerId() against other.getLocalizerId().

        Attachments

          Activity

            People

            • Assignee:
              zhiguohong Hong Zhiguo
              Reporter:
              zhiguohong Hong Zhiguo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: