You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Rares Vernica (JIRA)" <ji...@apache.org> on 2009/06/13 06:47:07 UTC

[jira] Commented: (HADOOP-4545) Add an example of a secondary sort

    [ 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.