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 "Varun Saxena (JIRA)" <ji...@apache.org> on 2017/10/21 06:06:26 UTC

[jira] [Updated] (YARN-3836) add equals and hashCode to TimelineEntity and other classes in the data model

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

Varun Saxena updated YARN-3836:
-------------------------------
    Fix Version/s: 2.9.0

> add equals and hashCode to TimelineEntity and other classes in the data model
> -----------------------------------------------------------------------------
>
>                 Key: YARN-3836
>                 URL: https://issues.apache.org/jira/browse/YARN-3836
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Assignee: Li Lu
>             Fix For: 2.9.0, 3.0.0-alpha1
>
>         Attachments: YARN-3836-YARN-2928.001.patch, YARN-3836-YARN-2928.002.patch, YARN-3836-YARN-2928.003.patch, YARN-3836-YARN-2928.004.patch
>
>
> Classes in the data model API (e.g. {{TimelineEntity}}, {{TimelineEntity.Identifer}}, etc.) do not override {{equals()}} or {{hashCode()}}. This can cause problems when these objects are used in a collection such as a {{HashSet}}. We should implement these methods wherever appropriate.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org