hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rares Vernica (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4545) Add an example of a secondary sort
Date Sat, 13 Jun 2009 04:47:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719076#action_12719076
] 

Rares Vernica commented on HADOOP-4545:
---------------------------------------

In the example, is there a typo in the hashCode function of IntPair?

    public int hashCode() {
      return first * 157 + second;
                             ^^^
                            127?
    }

Here is the .java file: http://svn.apache.org/viewvc/hadoop/core/trunk/src/examples/org/apache/hadoop/examples/SecondarySort.java

> Add an example of a secondary sort
> ----------------------------------
>
>                 Key: HADOOP-4545
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4545
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: examples
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.20.0
>
>         Attachments: h4545.patch, h4545.patch
>
>
> We should have an example of using secondary sort.

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


Mime
View raw message