hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-2249) Better to check the reflexive property of the object while overriding equals method of it
Date Mon, 07 Mar 2011 16:02:00 GMT

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

Devaraj K updated MAPREDUCE-2249:
---------------------------------

    Status: Patch Available  (was: Open)

Corrected the tab characters issue. Thanks Todd.

Added reflexive and commutative property checks in the equals() methods and moved the synchronization
to block level.


> Better to check the reflexive property of the object while overriding equals method of
it
> -----------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2249
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2249
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobtracker, tasktracker
>    Affects Versions: 0.22.0, 0.23.0
>         Environment: NA
>            Reporter: Bhallamudi Venkata Siva Kamesh
>         Attachments: MAPREDUCE-2249-1.patch, MAPREDUCE-2249-2.patch, MAPREDUCE-2249.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> It is better to check the reflexive property of the object while overriding equals method
of it.
>  
> It improves the performance when a heavy object is compared to itself.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message