hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8619) WritableComparator must implement no-arg constructor
Date Tue, 28 Aug 2012 13:13:07 GMT

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

Suresh Srinivas updated HADOOP-8619:
------------------------------------

      Resolution: Fixed
        Assignee: Chris Douglas
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

+1 for the patch.

I committed the patch to trunk. Thank you Chris.

@Radim, Fix Version/s was set to 3.0.0, 2.0.0-alpha and 0.23. I am not sure if you intended
that to indicate that you need this change on those branches. If you did, let me know. 

Also, in future, to indicate other branches that need a change, use Target Version/s field.
                
> 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: 3.0.0, 2.0.0-alpha, 0.23.0
>
>         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 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

Mime
View raw message