hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1832) Fix wrong MockLocalizerStatus#equals implementation
Date Fri, 08 May 2015 02:24:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533770#comment-14533770
] 

Hudson commented on YARN-1832:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7765 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7765/])
YARN-1832. Fix wrong MockLocalizerStatus#equals implementation. Contributed by Hong Zhiguo.
(aajisaka: rev b167fe7605deb29ec533047d79d036eb65328853)
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/MockLocalizerStatus.java


> Fix wrong MockLocalizerStatus#equals 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
>            Assignee: Hong Zhiguo
>            Priority: Minor
>             Fix For: 2.8.0
>
>         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.3.4#6332)

Mime
View raw message