giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabrizio silvestri <>
Subject A very newbie question about VertexInputFormat and VertexOutputFormat
Date Thu, 06 Sep 2012 08:00:31 GMT
Hello Everybody,

I'm very new to giraph and I would like to run some toy example before
trying to add my parts of code. In particular I would like to run a
PageRank computation on a toy graph stored on a text file with a
format that is compatible with

When run with

hadoop jar giraph-0.2-SNAPSHOT-for-hadoop-
org.apache.giraph.GiraphRunner \
    org.apache.giraph.examples.SimplePageRankVertex -w 1 \
    -if \

I got the following error:

12/09/06 09:59:24 INFO giraph.GiraphRunner: No input path specified.
Ensure your InputFormat does not require one.
12/09/06 09:59:24 INFO giraph.GiraphRunner: No output path specified.
Ensure your OutputFormat does not require one.
Exception in thread "main" java.lang.IllegalArgumentException:
checkClassTypes: Vertex index types don't match, vertex - class, vertex input format - class
	at org.apache.giraph.graph.GiraphTypeValidator.verifyVertexInputFormatGenericTypes(
	at org.apache.giraph.graph.GiraphTypeValidator.validateClassTypes(
	at org.apache.giraph.GiraphRunner.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.hadoop.util.RunJar.main(

I know this might sound stupid... but... I'm really stuck, here! :)

Is there any OuputFormat compatible with IntIntNullIntTextInputFormat?

Thanks in advance

View raw message