Works for me:
public static void main(String[] args) throws Exception {
> args = new String[] {"/tmp/pagerank-in/","/tmp/pagerank-out/"};
> HamaConfiguration conf = new HamaConfiguration();
> GraphJob createJob = PageRank.createJob(args, conf);
>
> createJob.waitForCompletion(true);
> }
>
First few lines:
> 506314 1.4833970375127825E-6
> 506310 9.504322290942259E-7
> 13230 5.222581456439986E-7
> 13234 6.976645076083461E-7
> 346617 1.156442788400425E-6
> 273676 5.770845524447161E-7
>
LOG Counters:
> Information: Counters: 9
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: org.apache.hama.bsp.JobInProgress$JobCounter
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: LAUNCHED_TASKS=4
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: org.apache.hama.bsp.BSPPeerImpl$PeerCounter
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: SUPERSTEPS=8
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: SUPERSTEP_SUM=36
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: IO_BYTES_READ=24644092
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: TIME_IN_SYNC_MS=72857
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: TOTAL_MESSAGES_SENT=18200056
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: TASK_INPUT_RECORDS=700000
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: TOTAL_MESSAGES_RECEIVED=9100028
> Okt 26, 2012 9:32:33 AM org.apache.hama.bsp.Counters log
> Information: TASK_OUTPUT_RECORDS=700000
>
2012/10/26 Shuo Wang <[email protected]>
> Ok,I have sent my graph to [email protected] .
>
> 2012/10/26 Thomas Jungblut <[email protected]>
>
> > Can you please provide the graph?
> >
> > 2012/10/26 Shuo Wang <[email protected]>
> >
> > > I used the hama-examples-0.6.0-SNAPSHOT.jar in the hama-0.6.0-SNAPSHOT.
> > >
> > > 2012/10/26 Thomas Jungblut <[email protected]>
> > >
> > > > Sure do you divide by 0?
> > > > Am 26.10.2012 08:37 schrieb "Shuo Wang" <[email protected]>:
> > > >
> > > > > Hi,
> > > > >
> > > > > I have run pagerank on HAMA. I find that sometimes the
> > results
> > > > have
> > > > > many null and infinity. Can you tell me the reason why it has null
> > and
> > > > > infinity results? Does it relate with
> > > > >
> > > > > the number of the vertices?
> > > > >
> > > >
> > >
> >
>