Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-764

TypedBytesInput's readRaw() does not preserve custom type codes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 1.0.2
    • Fix Version/s: 0.21.0, 1.0.2
    • Component/s: contrib/streaming
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The typed bytes format supports byte sequences of the form <custom type code> <length> <bytes>. When reading such a sequence via TypedBytesInput's readRaw() method, however, the returned sequence currently is 0 <length> <bytes> (0 is the type code for a bytes array), which leads to bugs such as the one described here.

        Attachments

        1. MAPREDUCE-764.patch
          3 kB
          Klaas Bosteels
        2. MAPREDUCE-764.patch
          3 kB
          Klaas Bosteels

          Activity

            People

            • Assignee:
              klbostee Klaas Bosteels
              Reporter:
              klbostee Klaas Bosteels
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: