There is already a haltComputation() method for the master computation for the inverse operation.

Would be nice to have the inverse method you suggest and rename the methods to be more descriptive. Maybe

endApplication() - less ambiguous than haltComputation() I think. voteToHalt has a different effect than ending the application.
wakeUpAllVertices() - similar to wakeUp() in Vertex.

This would be a pretty easy feature to add.  I don't see why not. Go for it!

Avery

On 3/12/13 9:57 AM, Jiadong Wu wrote:
Hi All,

Currently in my project, the master has to wake up all halted vertices
when certain conditions are met. To do this I actually hacked a little
bit of org.apache.giraph.graph.ComputeCallable.computePartition. So
that the computing thread can read a special aggregator set up by the
master and then decide whether all the halted vertices should be woken
up. Is there any neater approach for doing it? Or, if there isn't,
should we implement such method?

Regards,

Reply via email to