giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ameya Vilankar <ameya.vilan...@gmail.com>
Subject Re: How to implement a function in Mastercompute class?
Date Mon, 06 Jan 2014 20:46:15 GMT
You need to extend the DefaultMasterCompute Class. Then inplement the
compute method. This method will be called on the Master worker every
superstep. This gets called before the VertexComputation class runs on any
of the worker.

Link to documentation of the DefaultMasterCompute Class and the
MasterCompute Class:
http://giraph.apache.org/apidocs/org/apache/giraph/master/DefaultMasterCompute.html

http://giraph.apache.org/apidocs/org/apache/giraph/master/MasterCompute.html




On Mon, Jan 6, 2014 at 3:41 PM, Larry Compton <lawrence.compton@gmail.com>wrote:

> Jyoti,
>
> You should create a "MasterCompute" class. Its "compute()" method will be
> called at the end of each superstep. You can check the superstep number via
> the "getSuperstep()" method.
>
> LC
>
>
> On Mon, Jan 6, 2014 at 1:57 AM, Jyoti Yadav <rao.jyoti26yadav@gmail.com>wrote:
>
>> Hi folks..
>> While implementing some graph algo,i face some problem..
>> I want to implement some function which is performed by master node after
>> superstep 3..
>> Please help me dealing with this issue.
>>
>> With regards
>> Jyoti
>>
>
>
>

Mime
View raw message