giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamer Yousef <>
Subject TextDoubleDoubleAdjacencyListVertexInputFormat error
Date Fri, 13 Feb 2015 19:07:33 GMT
Hi All!
I’m trying to process a file to giraph that looks like this (tab delimited):

tamer    0.1          john       0.2          mike      0.3

where the vertex “tamer” is a source, and has a destination link to vertices john and

Here is the command I use:
hadoop jar giraph-examples-1.2.0-SNAPSHOT-for-hadoop-1.2.1-jar-with-dependencies.jar org.apache.giraph.GiraphRunner
-libjars ${LIBJARS} org.apache.giraph.examples.SimplePageRankComputation \
-vif \
-vip /giraphinput/textinput.txt -vof
-op /giraphoutput/pagerank02122015-7 -w 1 -ca giraph.SplitMasterWorker=false \
-mc org.apache.giraph.examples.SimplePageRankComputation\$SimplePageRankMasterCompute

But I get an error:
15/02/13 14:05:17 INFO utils.ConfigurationUtils: No edge input format specified. Ensure your
InputFormat does not require one.
15/02/13 14:05:17 INFO utils.ConfigurationUtils: No edge output format specified. Ensure your
OutputFormat does not require one.
15/02/13 14:05:17 INFO utils.ConfigurationUtils: Setting custom argument [giraph.SplitMasterWorker]
to [false] in GiraphConfiguration
Exception in thread "main" java.lang.IllegalArgumentException: checkClassTypes: vertex index
types not assignable, computation - class org.apache.hado, VertexInputFormat - class
        at org.apache.giraph.job.GiraphConfigurationValidator.checkAssignable(
        at org.apache.giraph.job.GiraphConfigurationValidator.verifyVertexInputFormatGenericTypes(
        at org.apache.giraph.job.GiraphConfigurationValidator.validateConfiguration(
        at org.apache.giraph.utils.ConfigurationUtils.parseArgs(
        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(

Any idea on how to fix this?

View raw message