hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9154) SortedMap#putAll() doesn't add key/value classes to the map
Date Tue, 18 Dec 2012 04:38:21 GMT
Karthik Kambatla created HADOOP-9154:

             Summary: SortedMap#putAll() doesn't add key/value classes to the map
                 Key: HADOOP-9154
                 URL: https://issues.apache.org/jira/browse/HADOOP-9154
             Project: Hadoop Common
          Issue Type: Bug
          Components: io
    Affects Versions: 2.0.2-alpha
            Reporter: Karthik Kambatla
            Assignee: Karthik Kambatla

In the following code from {{SortedMapWritable}}, #putAll() doesn't add key/value classes
to the class-id maps.


  public Writable put(WritableComparable key, Writable value) {
    return instance.put(key, value);

  public void putAll(Map<? extends WritableComparable, ? extends Writable> t){
    for (Map.Entry<? extends WritableComparable, ? extends Writable> e:
      t.entrySet()) {
      instance.put(e.getKey(), e.getValue());

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message