[
https://issues.apache.org/jira/browse/HAMA-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065152#comment-13065152
]
Edward J. Yoon commented on HAMA-409:
-------------------------------------
>> But we can actually add job.setVertexClass(Blahblah.class), if this is set
>> we can automatically set the ComputeGenericBSP/Pregel BSP.
Like this?
{code}
public class MyVertex extends Vertex {
public void compute(MessageValueIterator<LongWritable> messages)
throws IOException {
...
}
}
public void main(String[] args) {
HamaConfiguration conf = new HamaConfiguration();
BSPJob job = new BSPJob(conf);
job.setVertexClass(MyVertex.class);
job.setMessageValueClass(LongWritable.class);
...
{code}
> Add Pregel-like API
> -------------------
>
> Key: HAMA-409
> URL: https://issues.apache.org/jira/browse/HAMA-409
> Project: Hama
> Issue Type: New Feature
> Components: bsp, examples
> Affects Versions: 0.3.0
> Reporter: Thomas Jungblut
> Assignee: Miklos Erdelyi
> Labels: graph
> Fix For: 0.4.0
>
> Attachments: HAMA-409_v01.patch, HAMA-409_v02.patch, hama-graph.zip
>
>
> According to what we've discussed on the mailing list, we should add a
> Pregel-like API.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira