Hadoop Common
  1. Hadoop Common
  2. HADOOP-8323

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical 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.

      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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development