Re: Trying to run the Connected Components example.

2012-08-06 Thread Vishal Patel
I'm seeing a strange behavior that I can't explain. hadoop jar giraph-0.1-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.ConnectedComponentsVertex --inputFormat org.apache.giraph.examples.IntIntNullIntTextInputFormat --inputPath /user/vpatel/graph_in/elist.txt

Re: Trying to run the Connected Components example.

2012-08-06 Thread Sebastian Schelter
The job expects the input data in adjacency list format, each line should look like: vertex neighbor1 neighbor2 --sebastian On 07.08.2012 00:02, Vishal Patel wrote: > Thanks Sebastian, it runs fine now. However, the output comes back as > > 0 0 > 1 1 > 2 2 > 3 3 >

Re: Trying to run the Connected Components example.

2012-08-06 Thread Vishal Patel
Thanks Sebastian, it runs fine now. However, the output comes back as 0 0 1 1 2 2 3 3 4 4 5 5 6 6 .. I have an unsorted edge file with just int values. http://www.ics.uci.edu/~vishalrp/public/testg.txt My test graph (head below) has 10,000 nodes ( from 0

Re: Trying to run the Connected Components example.

2012-08-06 Thread Sebastian Schelter
You cannot run the vertex class directly. Instead you can use GiraphRunner, e.g. hadoop jar giraph-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.ConnectedComponentsVertex --inputFormat org.apache.giraph.examples.IntIntNullIntTextInputFormat --inputPath hdfs://

Trying to run the Connected Components example.

2012-08-06 Thread Vishal Patel
Hi, I am trying to run the connected-components example. I have giraph installed, all the test pass on a 3 node cluster running hadoop-1.0.3/ The main method is missing in the ConnectedComponentsVertex class cd target/classes hadoop jar ../giraph-0.1-jar-with-dependencies.jar org.apache.giraph.ex