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

Allow Text to be read with a known length

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • io
    • None
    • 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.

      Attachments

        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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment