Re: The best way to debug

2013-06-03 Thread Han JU
Hi, For my Giraph program, I write tests similar to those in the Giraph project, using the BspCase base class and the InternalVertexRunner. So the job is executed locally in a sequential fashion. When faced with some problems, I usually set break points and do a step by step debug. Have a look

Re: SimpleShortestPathsComputation with Edge List input file

2013-06-03 Thread Peter Holland
Thank you for the advice Claudio I updated the run command to use different io classes *bin/hadoop jar /home/ubuntu/giraph/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-1.0.2-jar-with-dependencies.jar * * org.apache.giraph.GiraphRunner

Re: SimpleShortestPathsComputation with Edge List input file

2013-06-03 Thread Claudio Martella
with the only problem that you picked an abstract class again... I advised you to use an inputformat that has the name of the types in the class name, hence org.apache.giraph.io.formats.IntNullTextEdgeInputFormat should work for you. On Mon, Jun 3, 2013 at 9:34 PM, Peter Holland

Re: SimpleShortestPathsComputation with Edge List input file

2013-06-03 Thread Peter Holland
Thank you for your response Claudio. I updated the command with the input class you suggested. *bin/hadoop jar /home/ubuntu/giraph/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-1.0.2-jar-with-dependencies.jar * * org.apache.giraph.GiraphRunner

Re: SimpleShortestPathsComputation with Edge List input file

2013-06-03 Thread Claudio Martella
The reason is that the particular computation (SimpleShortestPathsComputation) is expecting vertices with Long ids, while the EdgeInputFormat is parsing Integers. You have to fix one of the two accordingly. On Mon, Jun 3, 2013 at 11:22 PM, Peter Holland d1...@mydit.ie wrote: Thank you for

Restarting Algorithm Pattern

2013-06-03 Thread David Gainer
I have an algorithm where I'd like to iterative over the vertices with a configuration variable set to some value. Then, when all the vertices vote to halt, I'd like to reduce the configuration variable and repeat the inner iteration until some threshold of the configuration variable is reached.