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

Revert HADOOP-7940 and improve javadocs and test for Text.clear()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: io
    • Labels:

      Description

      Per Jim Donofrio's comments on HADOOP-7940, we should revert it as it has caused a performance regression (for scenarios where Text is reused, popular in MR).

      The clear() works as intended, as the API also offers a current length API.

        Attachments

        1. HADOOP-8323.patch
          3 kB
          Harsh J
        2. HADOOP-8323.patch
          3 kB
          Harsh J
        3. HADOOP-8323.patch
          3 kB
          Harsh J

          Issue Links

            Activity

              People

              • Assignee:
                qwertymaniac Harsh J
                Reporter:
                qwertymaniac Harsh J
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: