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

Owen O'Malley updated HADOOP-4276:
----------------------------------

    Attachment: h4276.patch

Addressed Chris' comments, except that I left the redundant else, which makes 
the return paths symmetric. I also used appendTo instead of appendIdTo, which 
seems more awkward.

> The mapred.*ID classes are inefficient for hashCode and serialization
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-4276
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4276
>             Project: Hadoop Core
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.20.0
>
>         Attachments: h4276.patch, h4276.patch
>
>
> Currently the ID classes call toString and hash the resulting string rather 
> than computing a hash directly.
> The ID classes also create new instances of the higher level object in 
> readFields (via read) rather than re-using the object via readFields.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to