Re: Exception when replacing EdgeListVertex VertexValue with my own class

2012-07-24 Thread Jonathan Bishop
Thanks Aljoscha, That was the issue - I had the constructor but it was private! Jon On Tue, Jul 24, 2012 at 11:45 PM, Aljoscha Krettek < aljoscha.kret...@googlemail.com> wrote: > Hi Jon > du you have a public constructor that takes no arguments? That is required > for it to work and it seems to

Re: Exception when replacing EdgeListVertex VertexValue with my own class

2012-07-24 Thread Aljoscha Krettek
Hi Jon du you have a public constructor that takes no arguments? That is required for it to work and it seems to be the problem here. -- aljoscha On Wed, Jul 25, 2012 at 8:27 AM, Jonathan Bishop wrote: > Hi, > > I have been investigating the exception below. It happens when I attempt to > repla

Exception when replacing EdgeListVertex VertexValue with my own class

2012-07-24 Thread Jonathan Bishop
Hi, I have been investigating the exception below. It happens when I attempt to replace the vertex value class, which had been LongWritable, with a new class I am writing, MyGraphVertexValue. I am using Giraph-0.1. I have declared MyGraphVertex public so I am not sure why this would be happening.

Re: SimpleShortestPathsVertex does not work when compiled separately

2012-07-24 Thread KAUSHIK SARKAR
Hi, Marcin's solution worked for me. Thanks! I didn't try out addFileToClassPath solution, but I think it should work. Thanks for the suggestion! As Marcin has already suggested, it is not very much clear why we have to do it like this and why the normal call to hadoop jar doesn't work. I guess

Re: SimpleShortestPathsVertex does not work when compiled separately

2012-07-24 Thread Etienne Dumoulin
Hi, I cannot explain it. But if it any use, for making it working without specifying the library in command line you can use the distributed cache: DistributedCache#addFileToClassPath Regards, Étienne On 24 July 2012 13:37, Marcin Biczak wrote: > Hi > > I had similar problem, here is "my solu

Re: SimpleShortestPathsVertex does not work when compiled separately

2012-07-24 Thread Marcin Biczak
Hi I had similar problem, here is "my solution", http://stackoverflow.com/questions/10700853/giraph-shortest-paths-example-classnotfoundexception. But I still don't know why I have do it like this, maybe someone here can explain this? regards marcin biczak 2012/7/24 KAUSHIK SARKAR > Hi, > > I