giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jialin LIu (JIRA)" <>
Subject [jira] [Created] (GIRAPH-1038) mvn -Phadoop_2 -Dhadoop.version=2.7.1 compile not work for OS X
Date Sat, 24 Oct 2015 14:45:27 GMT
Jialin LIu created GIRAPH-1038:

             Summary: mvn -Phadoop_2 -Dhadoop.version=2.7.1 compile not work for OS X
                 Key: GIRAPH-1038
             Project: Giraph
          Issue Type: Bug
          Components: build
    Affects Versions: 1.2.0-SNAPSHOT
         Environment: Mac OS X 10.11.1(I think it is OS X not the subversion)
            Reporter: Jialin LIu

When using Ubuntu 14.04 LTS, I set up Giraph 1.2 + Hadoop 2.7.1. After package I can write
code in giraph-examples/src and then mvn -Phadoop_2 -Dhadoop.version=2.7.1 compile it's done
and run hadoop all went well. But when I tried to use Giraph 1.2 + Hadoop 2.7.1 on Mac OS
X (10.11.1), the mvn compile in the giraph-examples/ worked but when I tried to run bin/hadoop
... as taught in the tutorial, it failed with the following:

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.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(

This message was sent by Atlassian JIRA

View raw message