Hadoop Common
  1. Hadoop Common
  2. HADOOP-10855

Allow Text to be read with a known length

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: io
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      For the native task work (MAPREDUCE-2841) it is useful to be able to store strings in a different fashion than the default (varint-prefixed) serialization. We should provide a "read" method in Text which takes an already-known length to support this use case while still providing Text objects back to the user.

      1. hadoop-10855.txt
        3 kB
        Todd Lipcon
      2. hadoop-10855.txt
        3 kB
        Todd Lipcon
      3. hadoop-10855.txt
        3 kB
        Todd Lipcon

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development