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

             Summary: Add sort behaviour to runtime partitioner
                 Key: HAMA-837
                 URL: https://issues.apache.org/jira/browse/HAMA-837
             Project: Hama
          Issue Type: Bug
          Components: bsp core
            Reporter: Edward J. Yoon
            Assignee: Edward J. Yoon
             Fix For: 0.7.0


If key is comparable and it need to be sorted by key of record, 

{code}
      if (outputPair.getKey() instanceof WritableComparable
          && conf.getBoolean(Constants.PARTITION_SORT_BY_KEY, false)) {
{code}

each patitions should be sorted by key. In here, we can use external merge sort.



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

Reply via email to