hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4046) WritableComparator's constructor should be protected instead of private
Date Mon, 01 Sep 2008 21:26:46 GMT

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

Chris Douglas updated HADOOP-4046:

    Assignee: Chris Douglas  (was: Owen O'Malley)
      Status: Patch Available  (was: Open)

Attaching a patch making WritableComparator effectively extensible. The performance penalty
for a pair of deserializations for each compare in both the sort and merge is difficult to
overstate, but for prototyping in particular this can be useful.

> WritableComparator's constructor should be protected instead of private
> -----------------------------------------------------------------------
>                 Key: HADOOP-4046
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4046
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.18.0
>            Reporter: Owen O'Malley
>            Assignee: Chris Douglas
>             Fix For: 0.18.1
>         Attachments: 4046-0.patch
> Currently, it isn't possible to subclass WritableComparator in a meaningful way. We should
make this constructor protected:
> {code}
> private WritableComparator(Class keyClass, boolean createInstances)
> {code}

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message