You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by Henry Saputra <he...@gmail.com> on 2012/10/04 07:26:27 UTC

Re: Found interface org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected

Including the @dev list to get extended help.

- Henry

On Wed, Oct 3, 2012 at 12:34 PM, Bai Shen <ba...@gmail.com> wrote:
> I'm using Nutch 2 on CDH4.  Nutch uses Gora to talk to HBase.  I'm getting
> the following error.  Any suggestions on how to fix this?
>
> Thanks.
>
> 12/10/03 15:33:59 WARN mapred.LocalJobRunner: job_local_0001
> java.lang.IncompatibleClassChangeError: Found interface
> org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
>         at
> org.apache.gora.mapreduce.GoraOutputFormat.getRecordWriter(GoraOutputFormat.java:83)
>         at
> org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.<init>(MapTask.java:523)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:626)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)
>         at
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:263)
>