Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
YARN-2928
-
None
-
Reviewed
Description
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.