giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Martella <claudio.marte...@gmail.com>
Subject Re: InputFormat for the example SimpleMasterComputeVertex
Date Wed, 13 Feb 2013 12:03:01 GMT
Are you sure that is the right line? I do not see how that would cause an
exception, most probably a for loop on messages right after?


On Wed, Feb 13, 2013 at 12:04 PM, Maria Stylianou <marsty5@gmail.com> wrote:

> Hey,
>
> I am trying to run the example SimpleMasterComputeVertex, but no matter
> which Input Format and graph I give, it doesn't work. Each worker gives the
> error:
>
> Caused by: java.lang.*NullPointerException*
> 	at org.apache.giraph.examples.*SimpleMasterComputeVertex.compute*(SimpleMasterComputeVertex.java:*42*)
>
> This line 42 is the first line of the compute()
> public void compute(Iterable<DoubleWritable> messages){
>
> So I guess, the initialization is not done correctly, because the input
> file does not have the correct format.
>
> Any help would be appreciated,
> Thanks!
> Maria
> --
> Maria Stylianou
> Intern at Telefonica, Barcelona, Spain
> Master Student of European Master in Distributed Computing<http://www.kth.se/en/studies/programmes/master/em/emdc>
> Universitat Polit├Ęcnica de Catalunya - BarcelonaTech, Barcelona, Spain
> KTH Royal Institute of Technology, Stockholm, Sweden
>
>


-- 
   Claudio Martella
   claudio.martella@gmail.com

Mime
View raw message