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
(v6.2#6252)