[
https://issues.apache.org/jira/browse/YARN-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nijel updated YARN-4110:
------------------------
Attachment: 01-YARN-4110.patch
Thanks [~rohithsharma] for reporting
Attached the patch
> 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: 01-YARN-4110.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)