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

Fix wrong MockLocalizerStatus#equals implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.8.0, 3.0.0-alpha1
    • nodemanager
    • None
    • 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

        1. YARN-1832.patch
          1 kB
          Hong Zhiguo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: