Re: Superstep count

2013-05-21 Thread Ahmet Emre Aladağ
OK, I found it. Sample code for archive purposes (here it's 3 supersteps, if config doesnt have the key): In the compute method: SUPERSTEP_COUNT = "giraph.pageRank.superstepCount"; if (superStep < getConf().getInt(SUPERSTEP_COUNT, 3)) { sendMessageToAllEdges(

Superstep count

2013-05-20 Thread Ahmet Emre Aladağ
Hi, In the benchmark examples we could specify the number of supersteps via -s 10 parameter. But when we're using GraphRunner, how can we specify that? hadoop jar giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-1.0.2-jar-with-dependencies.jar org.apache.giraph.GiraphRunner