Apache Giraph : Number of vertices processed by each partition -
i newbie trying understand working of giraph 1.2.0. hadoop 1.2.1.
is there way figure out number of vertices processed each mapper?
the call method of org.apache.giraph.graph.computecallable class executed once per superstep. inside function, each partition owned map task, computepartition function called. so, can define integer (counter) class. then, in computepartition, if compute method of vertex called, increment counter. finally, @ end of call method print counter. so, each superstep of each mapper, prints number of vertices processed.
Comments
Post a Comment