hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nijel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4110) RMappImpl and RmAppAttemptImpl should override hashcode() & equals()
Date Fri, 04 Sep 2015 08:24:46 GMT

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

nijel updated YARN-4110:
------------------------
    Attachment: YARN-4110_1.patch

Attached the patch
Please review

> 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
>         Attachments: YARN-4110_1.patch
>
>
> 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)

Mime
View raw message