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

Allen Wittenauer updated HADOOP-8619:
-------------------------------------
    Fix Version/s:     (was: 3.0.0)

> WritableComparator must implement no-arg constructor
> ----------------------------------------------------
>
>                 Key: HADOOP-8619
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8619
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 3.0.0
>            Reporter: Radim Kolar
>            Assignee: Chris Douglas
>             Fix For: 0.23.0, 2.0.0-alpha
>
>         Attachments: 8619-0.patch, writable-comparator.txt
>
>
> Because of reasons listed here: 
> http://findbugs.sourceforge.net/bugDescriptions.html#SE_COMPARATOR_SHOULD_BE_SERIALIZABLE
> comparators should be serializable. To make deserialization work, it is 
> required that all superclasses have no-arg constructor. 
> http://findbugs.sourceforge.net/bugDescriptions.html#SE_NO_SUITABLE_CONSTRUCTOR
> Simply add no=arg constructor to  WritableComparator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to