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/01/22 06:38:19 UTC

[jira] [Updated] (HAMA-857) Graph Combiners is wrongly implemented

     [ 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)