[
https://issues.apache.org/jira/browse/HAMA-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015115#comment-13015115
]
Edward J. Yoon commented on HAMA-362:
-------------------------------------
I think, it would be nice if we can change the BSPMessage to abstract class, so
that user can use their own Message class. For example,
{code}
DoubleMessage msg = new DoubleMessage(4.0 * (double) in / (double)
iterations);
bspPeer.send(masterTask, msg);
bspPeer.sync();
{code}
Then, we can also implement like this:
{code}
class AdjacentListMessage extends MessageAbstract implements Messagable {
}
{code}
> Design a new data structure for tag and message data of BSPMessage
> ------------------------------------------------------------------
>
> Key: HAMA-362
> URL: https://issues.apache.org/jira/browse/HAMA-362
> Project: Hama
> Issue Type: New Feature
> Components: bsp
> Affects Versions: 0.3.0
> Reporter: Edward J. Yoon
> Fix For: 0.3.0
>
>
> The tag and message type are byte[]. However, I guess, the message of
> BSPMessage (almost) will be a {adjacent, vector, .., etc} *list*.
> By supporting generic datatypes, it will be able to represent any data
> structure and make easy-to-program.
> And, It should be compressible, writable, and flexible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira