You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Dave Carlson (Created) (JIRA)" <ji...@apache.org> on 2011/12/07 20:30:39 UTC

[jira] [Created] (HADOOP-7889) Change Record serialization *Vector, *Map, methods to collection interfaces

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

                 Key: HADOOP-7889
                 URL: https://issues.apache.org/jira/browse/HADOOP-7889
             Project: Hadoop Common
          Issue Type: Improvement
          Components: record
    Affects Versions: 0.20.2
         Environment: Linux, Java 1.6
            Reporter: Dave Carlson
            Priority: Trivial


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira