You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2015/09/03 15:55:46 UTC

[jira] [Commented] (YARN-4110) RMappImpl and RmAppAttemptImpl should override hashcode() & equals()

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

nijel commented on YARN-4110:
-----------------------------

Sorry attached wrong patch so deleting the same

> RMappImpl and RmAppAttemptImpl should override hashcode() & equals()
> --------------------------------------------------------------------
>
>                 Key: YARN-4110
>                 URL: https://issues.apache.org/jira/browse/YARN-4110
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>            Reporter: Rohith Sharma K S
>            Assignee: nijel
>
> It is observed that RMAppImpl and RMAppAttemptImpl does not have hashcode() and equals() implementations. These state objects should override these implementations.
> # For RMAppImpl, we can use of ApplicationId#hashcode and ApplicationId#equals.
> # Similarly, RMAppAttemptImpl, ApplicationAttemptId#hashcode and ApplicationAttemptId#equals



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)