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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • 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
          27 kB
          Owen O'Malley
        2. h4276.patch
          29 kB
          Owen O'Malley

        Activity

          People

            omalley Owen O'Malley
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: