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

Text and BytesWritable's raw comparators should use the lengths provided instead of rebuilding them from scratch using readInt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.17.0
    • None
    • None

    Description

      It would be much faster to use the key length provided by the raw compare function rather than rebuilding the integer lengths back up from bytes twice for every comparison in the sort.

      Attachments

        1. 3046.patch
          4 kB
          Owen O'Malley
        2. 3046-2.patch
          7 kB
          Owen O'Malley

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: