hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-502) Message API Improvement
Date Fri, 10 Feb 2012 01:09:59 GMT

    [ https://issues.apache.org/jira/browse/HAMA-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205128#comment-13205128

Edward J. Yoon commented on HAMA-502:

One thing is clear that the old BSP interfaces are more ugly than before by this. Vertex is
good I think.

I'm add this to trunk, expecting BSP will improve with HAMA-503 and other efforts.
> Message API Improvement
> -----------------------
>                 Key: HAMA-502
>                 URL: https://issues.apache.org/jira/browse/HAMA-502
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp
>    Affects Versions: 0.4.0
>            Reporter: Thomas Jungblut
>            Assignee: Edward J. Yoon
>              Labels: newbie
>             Fix For: 0.5.0
>         Attachments: generic.patch, v02.patch
> Accordingly what we have discussed on the mailing list, we want to switch the API from
the restricted BSPMessage type to <? extends Writable>.
> So send is going to look like this:
> bq. public final void send(String peerName, <? extends Writable> msg)
> And receive:
> bq. public final <? extends Writable> getCurrentMessage()
> There should be no backward compatibility issues because BSPMessage is currently a "child"
of Writable.
> All the related class are:
> Interface: BSPPeer, MessageManager
> Class: BSPPeerImpl, HadoopMessageManagerImpl
> Maybe other class like BSPMessageBundle must be widened to use <? extends Writable>.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message