Re: SimpleShortestPathsVertex does not work when compiled separately

2012-08-05 Thread Vijayakumar Ramdoss
Thanks Kaushik, it's worked me well. Sent from my iPad On Aug 1, 2012, at 11:20 PM, KAUSHIK SARKAR wrote: > Hi, > > I found an alternative programmatic solution to the problem. > We need to modify the run() method in the following way - > > ... > @Override > public int run(String[] argAr

Re: SimpleShortestPathsVertex does not work when compiled separately

2012-08-01 Thread KAUSHIK SARKAR
Hi, I found an alternative programmatic solution to the problem. We need to modify the run() method in the following way - ... @Override public int run(String[] argArray) throws Exception { Preconditions.checkArgument(argArray.length == 4, "run: Must have 4 arguments " +

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