giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Martella <>
Subject Re: How to retrieve and display the values aggregated by the aggregators?
Date Wed, 24 Jul 2013 16:25:03 GMT
Hi Kyle,

you can check out the AggregatorWriter interface which allows you to do
that. As a matter of fact there is already a class that implements what you
need (org.apache.giraph.aggregators.TextAggregatorWriter).

Hope it helps.

On Wed, Jul 24, 2013 at 5:19 PM, Kyle Orlando <>wrote:

> Hello,
> I am new to Giraph and was just wondering how one could retrieve and
> display the certain global values/statistics that the aggregators keep
> track of.  What classes and methods would I use, and would this be
> done in a class that extends VertexOutputFormat, or would it be done
> elsewhere?
> As an example, in the provided SimplePageRankComputation in
> org.apache.giraph.examples, there are three aggregators: sum, min, and
> max.  I would like to display all of their final values (after the
> final superstep) in some way, such as writing them to a text file.
> --
> Kyle Orlando
> Computer Engineering Major
> University of Maryland

   Claudio Martella

View raw message