Hi Jyoti, You can take a look inside of org.apache.giraph.aggregators package, there are many implementations already there. Some simple, like LongSumAggregator, and some more complex ones inside of matrix package. Please look through that and let me know if you need additional help. When you manage to implement this, you can also contribute it back to Giraph!
Maja From: Jyoti Yadav <rao.jyoti26ya...@gmail.com<mailto:rao.jyoti26ya...@gmail.com>> Reply-To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" <user@giraph.apache.org<mailto:user@giraph.apache.org>> Date: Thursday, January 9, 2014 12:23 AM To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" <user@giraph.apache.org<mailto:user@giraph.apache.org>> Subject: About writing our own aggregator.. Hi Folks... I am trying to implement one graph algorithm on giraph. I want that all vertices send their ids to the master .For that I need to implement my own aggregator class. Please suggest me how to proceed... Thanks Jyoti