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

Change Record serialization *Vector, *Map, methods to collection interfaces

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 0.20.2
    • Fix Version/s: None
    • Component/s: record
    • Labels:
      None
    • Environment:

      Linux, Java 1.6

      Description

      While attempting to throw a LinkedHashMap through Record serialization (BinaryRecordOutput, etc), the type does not match TreeMap, and compilation fails.

      I looked for any TreeMap/ArrayList specific method calls but couldn't find any. BinaryRecordOutput calls .size() for both, which are methods of the interfaces Map/List respectively.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thecubic Dave Carlson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: