hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shuo Wang <ecisp.wangs...@gmail.com>
Subject Re: HAMA PageRank Null and Inifity Result
Date Fri, 26 Oct 2012 07:45:16 GMT
Ok, it maybe my own reason. Can you tell me when it will have the null or
infinity result?

2012/10/26 Thomas Jungblut <thomas.jungblut@gmail.com>

> 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 <ecisp.wangshuo@gmail.com>
>
> > Ok,I have sent my graph to thomas.jungblut@gmail.com .
> >
> > 2012/10/26 Thomas Jungblut <thomas.jungblut@gmail.com>
> >
> > > Can you please provide the graph?
> > >
> > > 2012/10/26 Shuo Wang <ecisp.wangshuo@gmail.com>
> > >
> > > > I used the hama-examples-0.6.0-SNAPSHOT.jar in the
> hama-0.6.0-SNAPSHOT.
> > > >
> > > > 2012/10/26 Thomas Jungblut <thomas.jungblut@gmail.com>
> > > >
> > > > > Sure do you divide by 0?
> > > > > Am 26.10.2012 08:37 schrieb "Shuo Wang" <ecisp.wangshuo@gmail.com
> >:
> > > > >
> > > > > > 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?
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message