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] Issue Comment Edited: (HADOOP-4545) Add an example of a secondary sort
Date Sat, 13 Jun 2009 04:51: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 edited comment on HADOOP-4545 at 6/12/09 9:49 PM:
----------------------------------------------------------------

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

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

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

      was (Author: rvernica):
    In the example, is there a typo in the hashCode function of IntPair?

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

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