hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7547) Fix the warning in writable classes.[ WritableComparable is a raw type. References to generic type WritableComparable<T> should be parameterized ]
Date Thu, 25 Aug 2011 12:17:29 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo (Nicholas), SZE updated HADOOP-7547:
-------------------------------------------

    Hadoop Flags: [Incompatible change]

Mark this as an incompatible change since the signatures of compareTo(..) are changed.  Before
this, the compareTo(..) methods take Object as a parameter and cast to the corresponding class.
 After the patch, the compareTo(..) methods directly take the corresponding class as a parameter.

Patch looks good.  Some minor comments:
- Let's revert the changes in RecordTypeInfo and Record since they are deprecated.
- Need to update with trunk.

> Fix the warning in writable classes.[ WritableComparable is a raw type. References to
generic type WritableComparable<T> should be parameterized  ]
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7547
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7547
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>            Priority: Minor
>         Attachments: HADOOP-7547.patch
>
>
> WritableComparable is a raw type. References to generic type WritableComparable<T>
should be parameterized.
> Also address the same in example implementation in WritableComparable interface's javadoc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message