Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4276

The mapred.*ID classes are inefficient for hashCode and serialization

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. h4276.patch
          29 kB
          Owen O'Malley
        2. h4276.patch
          27 kB
          Owen O'Malley

          Activity

            People

            • Assignee:
              owen.omalley Owen O'Malley
              Reporter:
              owen.omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: