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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 0.20.2
    • None
    • record
    • None
    • 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

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

            Dates

              Created:
              Updated: