hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-878) PartitioningRunner.Sorter doesn't allows duplicate key
Date Fri, 28 Feb 2014 23:56:19 GMT

    [ https://issues.apache.org/jira/browse/HAMA-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13916599#comment-13916599
] 

Hudson commented on HAMA-878:
-----------------------------

SUCCESS: Integrated in Hama-Nightly-for-Hadoop-2.x #192 (See [https://builds.apache.org/job/Hama-Nightly-for-Hadoop-2.x/192/])
HAMA-878: PartitioningRunner.Sorter doesn't allows duplicate key (edwardyoon: rev 1572839)
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/PartitioningRunner.java
HAMA-878: PartitioningRunner.Sorter doesn't allows duplicate key (edwardyoon: rev 1572838)
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/PartitioningRunner.java


> PartitioningRunner.Sorter doesn't allows duplicate key
> ------------------------------------------------------
>
>                 Key: HAMA-878
>                 URL: https://issues.apache.org/jira/browse/HAMA-878
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: HAMA-878.patch
>
>
> My mistake. I used SortedMap to compare keys when merge sort. So, some records contains
duplicate key can be ignored.
>   public SortedMap<WritableComparable, KeyValuePair<Integer, KeyValuePair>>
comparisonMap = new TreeMap<WritableComparable, KeyValuePair<Integer, KeyValuePair>>();



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message