giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yost <soozandjohny...@gmail.com>
Subject Strange ClassCastException
Date Wed, 08 Jan 2014 21:07:26 GMT
Hi,

I am encountering a ClassCastException in my custom Tool class:

14/01/08 15:58:15 ERROR step.AbstractStep: Encountered an error executing
the step
java.lang.ClassCastException: org.apache.giraph.conf.GiraphConfiguration
cannot be cast to org.apache.hadoop.mapred.JobConf
at org.apache.hadoop.mapreduce.Job$1.run(Job.java:513)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1149)
at org.apache.hadoop.mapreduce.Job.connect(Job.java:511)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:499)
at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:530)
at
com.johnyost.analytics.TwitterSpringRunner.run(TwitterSpringRunner.java:72)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)

Looking at the Hadoop Job source code, the ClassCastException is being
thrown here:

Mime
View raw message