You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2014/02/27 07:54:20 UTC

[jira] [Created] (HAMA-878) PartitioningRunner.Sorter doesn't allows duplicate key

Edward J. Yoon created HAMA-878:
-----------------------------------

             Summary: PartitioningRunner.Sorter doesn't allows duplicate key
                 Key: HAMA-878
                 URL: https://issues.apache.org/jira/browse/HAMA-878
             Project: Hama
          Issue Type: Bug
            Reporter: Edward J. Yoon
            Assignee: Edward J. Yoon


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)