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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • io

    Description

      Per jdonofrio'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

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

              Dates

                Created:
                Updated:
                Resolved: