giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Presta <>
Subject Re: cannot run Giraph trunk with Hadoop 2.0.0-alpha
Date Mon, 20 Aug 2012 18:47:23 GMT
Looks like you compiled for hadoop 0.20.203, which had a different API (that's why we have
to use Munge). Can you try recompiling with the hadoop_2.0.0 profile?

From: Johnny Zhang <<>>
Reply-To: "<>" <<>>
Date: Monday, August 20, 2012 7:31 PM
To: "<>" <<>>
Subject: cannot run Giraph trunk with Hadoop 2.0.0-alpha

Hi, all:
I am trying to run Giraph trunk with Hadoop 2.0.0-alpha.
I am getting below error when I run a page rank example job with 3 workers.

# hadoop jar target/giraph-0.2-SNAPSHOT-for-hadoop- org.apache.giraph.benchmark.PageRankBenchmark
-e 1 -s 3 -v -V 50000000 -w 3
12/08/20 11:10:38 WARN mapred.JobConf: The variable mapred.child.ulimit is no longer used.
12/08/20 11:10:38 INFO benchmark.PageRankBenchmark: Using class org.apache.giraph.benchmark.PageRankBenchmark
12/08/20 11:10:38 WARN conf.Configuration: mapred.job.tracker is deprecated. Instead, use
12/08/20 11:10:38 WARN conf.Configuration: is deprecated. Instead,
12/08/20 11:10:38 WARN conf.Configuration: mapred.job.reduce.memory.mb is deprecated. Instead,
use mapreduce.reduce.memory.mb
12/08/20 11:10:38 WARN conf.Configuration: is deprecated.
Instead, use
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext,
but class was expected
at org.apache.giraph.bsp.BspOutputFormat.checkOutputSpecs(
at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(
at org.apache.hadoop.mapreduce.Job$
at org.apache.hadoop.mapreduce.Job$
at Method)
at org.apache.hadoop.mapreduce.Job.submit(
at org.apache.hadoop.mapreduce.Job.waitForCompletion(
at org.apache.giraph.benchmark.PageRankBenchmark.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(

My $HADOOP_MAPRED_HOME and $JAVA_HOME is set up correctly, could anyone tell me if I need
to setup anything else? Thanks a lot.


View raw message