Thanks for your report. What's the meaning of 'all the values'? Please give me more details about your problem.
I didn't look at 'dangling links & aggregators' part of PageRank example closely, but I think there's no bug. Aggregators is just used for global communication. For example, finding max value[1] can be done in only one iteration using MaxValueAggregator. 1. http://cdn.dejanseo.com.au/wp-content/uploads/2011/06/supersteps.png On Wed, Apr 17, 2013 at 6:27 PM, Steven van Beelen <[email protected]> wrote: > Hello, > > I'm creating my own pagerank in hama for a testing and I think I found a > problem with the AverageAggregator. I'm not sure if it is me or the the > AverageAggregator class in general, but I believe it just returns the mean > of all the values instead of the average difference between the old and new > value as intended. > > For testing, I created my own AbsDiffAggregator and AverageAggregator > classes, using FloatWritable instead of DoubleWritables. The same problem > still occured: I got a mean of all the values in the graph instead of an > average difference. > > Could someone tell me if I'm doing something wrong or what I should provide > to better explain my problem? > > Regards, > Steven van Beelen, Vrije Universiteit of Amsterdam -- Best Regards, Edward J. Yoon @eddieyoon
