[ 
https://issues.apache.org/jira/browse/YARN-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA updated YARN-1832:
--------------------------------

         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().


  was:

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

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


    Target Version/s: 2.4.0
        Hadoop Flags: Reviewed

> 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
>         Attachments: YARN-1832.patch
>
>
> "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)

Reply via email to