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 "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2015/09/03 12:51:45 UTC

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

Rohith Sharma K S created YARN-4110:
---------------------------------------

             Summary: 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: Rohith Sharma K S


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)