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
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
>
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
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://
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