Re: Where can I find a simple Hello World example for Giraph

2013-02-21 Thread Maja Kabiljo
Hi Ryan, Before running the job, you need to set Vertex and input/output format classes on it. Please take a look at one of the benchmarks to see how to do that. Alternatively, you can try using GiraphRunner, where you pass these classes as command line arguments. Maja On 2/21/13 2:43 PM, Ryan

Re: Where can I find a simple Hello World example for Giraph

2013-02-21 Thread Ryan Compton
Ok, I've been looking at the PageRankBenchmark. There's a lot going on in there... It looks like the minimum amount of stuff I need to run a do-nothing job is what I've got below. But now it's telling me that (and PageRankBenchmark doesn't have the word output anywhere). 13/02/21 16:08:37 ERROR

Re: Where can I find a simple Hello World example for Giraph

2013-02-21 Thread Ryan Compton
Ok, ignoring everything about I/O I can run the below code. But then it hangs at 0% reduce forever -bash-3.2$ hadoop jar target/geocoderV2-1.0-SNAPSHOT-jar-with-dependencies.jar com.hrl.issl.osi.networks.HelloGiraph0p2 13/02/21 17:33:28 INFO graph.GiraphJob: run: Since checkpointing is disabled

Re: Where can I find a simple Hello World example for Giraph

2013-02-05 Thread Gustavo Enrique Salazar Torres
Hi Ryan: I got that same error and discovered that I have to start a zookeeper instance. What I did was to download Zookeeper, write a new zoo.cfg file under conf directory with the following: dataDir=/home/user/zookeeper-3.4.5/tmp clientPort=2181 Also I added some lines in Hadoop's

Re: Where can I find a simple Hello World example for Giraph

2013-02-04 Thread Ryan Compton
Ok great, thanks. I've been working with 0.1, I can get things to compile (see below code) but they still are not running, the maps hang (also below). I have no idea how to fix it, I may consider updating that code I have that compiles to 0.2 and see if it works then. The only difference I can see

Re: Where can I find a simple Hello World example for Giraph

2013-02-01 Thread Eli Reisman
Your best bet is to look over the two code components that users most often have to tweak or implement to write application code. That is, the Vertex implementations in examples/ and benchmark/ and the IO formats and related goodies like RecordReaders etc. that are mostly in the io/ dir. You might