hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Zhiguo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1832) wrong MockLocalizerStatus.equals() method implementation
Date Fri, 14 Mar 2014 08:31:43 GMT
Hong Zhiguo created YARN-1832:

             Summary: wrong MockLocalizerStatus.equals() method implementation
                 Key: YARN-1832
                 URL: https://issues.apache.org/jira/browse/YARN-1832
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 2.2.0
            Reporter: Hong Zhiguo
            Priority: Trivial

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

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

This message was sent by Atlassian JIRA

View raw message