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

Add support for application-specific typecodes to typed bytes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.0.2, 0.21.0
    • None
    • None
    • Reviewed

    Description

      For serializing objects of types that are not supported by typed bytes serialization, applications might want to use a custom serialization format. Right now, typecode 0 has to be used for the bytes resulting from this custom serialization, which could lead to problems when deserializing the objects because the application cannot know if a byte sequence following typecode 0 is a customly serialized object or just a raw sequence of bytes. Therefore, a range of typecodes that are treated as aliases for 0 should be added, such that different typecodes can be used for application-specific purposes.

      Attachments

        1. HADOOP-5450.patch
          10 kB
          Klaas Bosteels

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: