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] [Commented] (HAMA-409) Add Pregel-like API
Date Thu, 14 Jul 2011 09:53:00 GMT

    [ 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

        

Mime
View raw message