On Wed, Jul 30, 2014 at 04:55 PM, Arun Kumar <toga...@gmail.com> wrote: > For my implementation to work the vprog function which is responsible for > handling in coming messages and the sendMsg function should be aware of > which super step they are in. > Is it possible to pass super step information in this methods?
Sorry about the delay on this. Here's a patch to pass the iteration number to vprog and sendMsg: https://github.com/ankurdave/spark/commit/pregel-iteration-number You can check this out (`git clone https://github.com/ankurdave/spark -b pregel-iteration-number`) and build it. The iteration number is passed to vprog and sendMsg as the first argument (the Int). Ankur