hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HAMA-526) Multi-threaded vertex processing
Date Wed, 22 Apr 2015 00:03:18 GMT

     [ https://issues.apache.org/jira/browse/HAMA-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon resolved HAMA-526.
---------------------------------
    Resolution: Fixed

> Multi-threaded vertex processing
> --------------------------------
>
>                 Key: HAMA-526
>                 URL: https://issues.apache.org/jira/browse/HAMA-526
>             Project: Hama
>          Issue Type: Sub-task
>          Components: bsp core, graph
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>         Attachments: patch.txt
>
>
> {code}
>   public void bsp(BSPPeer peer) throws IOException, SyncException,
>       InterruptedException {
>  
>       ...
>       while (updated && iteration < maxIteration) {
>         peer.sync();
>         ...
>         for (Map.Entry<String, LinkedList<Writable>> e : msgMap.entrySet())
{
>           if (e.getValue().size() > 0) {
>             vertices.get(e.getKey()).compute(e.getValue().iterator());
>           }
>         }
>       ...
>       }
> {code}
> Above code will run Vertex sequentially. Do you think we can run Vertex processing concurrently
using multi-threads?
> Then what's the advantages or disadvantages of using multi-threading?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message