You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2009/10/07 12:07:31 UTC

[jira] Updated: (HAMA-195) Design the bsp library

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

Hyunsik Choi updated HAMA-195:
------------------------------

    Attachment: bsplib.uml
                bsplib_uml.jpg

I'm going to show works that I have done so far. I attached two files of the uml diagram about the bsp library. One is the image, and another is the staruml file, an open source uml platform. I think that the functional requirements will be well shown in the uml diagram. They have to send and receive in point to point communication, and they have to do barrier sync.

Most of methods follow the conventional bsp library made in C. The main difference is that our one will be based on HadoopRPC and it will use zookeeper in order to control all of the bsp peers.

As shown in the figure, data delivery between peers is carried out by put() method in a RPC interface BSPPeerInterface. The basic unit for transmission is an array of bytes (i.e., byte []). When I posted the interface previously, it was a Writable. But I modified a Writable to byte [] because it is more general for most of applications.

In this design, each tasktracker (i.e., walker in angrapa) will have one BSPPeer instance, and BSPPeers communicates with one another in point to point communication. Also, they enter barrier phase or leave this phase through zookeeper.

I want a few pieces of advice about that. 
Thank you for reading.

> Design the bsp library
> ----------------------
>
>                 Key: HAMA-195
>                 URL: https://issues.apache.org/jira/browse/HAMA-195
>             Project: Hama
>          Issue Type: New Feature
>          Components: bsp
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>         Attachments: bsplib.uml, bsplib_uml.jpg, HAMA-195.patch
>
>
> First of all, we have to design the bsp library.
> 1. Analyzing the key requirements of bsp library.
> 2. Designing the bsp core interfaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.