giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ping Jin <jinpi...@gmail.com>
Subject giraph-hive having problem with cdh-4.4 (hadoop2.0)
Date Tue, 19 Nov 2013 02:11:09 GMT
hi,
I'm a new user of giraph. I'm trying to setup giraph-hive to work with the
cdh4.4 Hive and Hadoop.
I successfully built and run the SimpleShortestPath job on cdh-4.4 Hadoop
cluster.
However when I try to setup Giraph-Hive and run a job through
GiraphHiveRunner, I got following exceptions:

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
interface org.apache.hadoop.mapreduce.JobContext, but class was expected

at
com.facebook.hiveio.output.HiveApiOutputFormat.checkOutputSpecs(HiveApiOutputFormat.java:247)

at
org.apache.giraph.hive.output.HiveVertexOutputFormat.checkOutputSpecs(HiveVertexOutputFormat.java:108)

at
org.apache.giraph.io.internal.WrappedVertexOutputFormat.checkOutputSpecs(WrappedVertexOutputFormat.java:104)

at
org.apache.giraph.bsp.BspOutputFormat.checkOutputSpecs(BspOutputFormat.java:52)

at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:984)

at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:945)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:394)

at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)

at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:945)

at org.apache.hadoop.mapreduce.Job.submit(Job.java:566)

at org.apache.giraph.job.GiraphJob.run(GiraphJob.java:246)

at org.apache.giraph.hive.HiveGiraphRunner.run(HiveGiraphRunner.java:275)

at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)

at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)

at org.apache.giraph.hive.HiveGiraphRunner.main(HiveGiraphRunner.java:246)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.hadoop.util.RunJar.main(RunJar.java:208)


Any one can help me figure out what's going wrong?


Thanks,

-Ping

Mime
View raw message