[
https://issues.apache.org/jira/browse/HAMA-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward J. Yoon updated HAMA-857:
--------------------------------
Attachment: combine.patch
This patch combines the messages before sending to another peers.
The number of combined messages = TOTAL_MESSAGES_SENT - TOTAL_MESSAGES_RECEIVED
{code}
14/01/22 14:26:16 INFO bsp.BSPJobClient: TOTAL_MESSAGES_SENT=81
14/01/22 14:26:16 INFO bsp.BSPJobClient: TOTAL_MESSAGES_RECEIVED=79
{code}
> Graph Combiners is wrongly implemented
> --------------------------------------
>
> Key: HAMA-857
> URL: https://issues.apache.org/jira/browse/HAMA-857
> Project: Hama
> Issue Type: Bug
> Components: graph
> Affects Versions: 0.6.3
> Reporter: Edward J. Yoon
> Priority: Critical
> Fix For: 0.7.0
>
> Attachments: combine.patch
>
>
> Current implementation combines the already received messages.
> {code}
> if (combiner != null) {
> M combined = combiner.combine(iterable);
> vertex.compute(Collections.singleton(combined));
> } else {
> vertex.compute(iterable);
> }
> {code}
> Messages should be combined before sending to another vertex.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)