[ https://issues.apache.org/jira/browse/GORA-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Talat UYARER resolved GORA-403. ------------------------------- Resolution: Invalid Fix Version/s: (was: 0.6) Yes [~lewismc], we fixed it with GORA_375. I marked it as invalid. > Gora does not work on Hadoop 2 > ------------------------------ > > Key: GORA-403 > URL: https://issues.apache.org/jira/browse/GORA-403 > Project: Apache Gora > Issue Type: Bug > Components: gora-core > Affects Versions: 0.5 > Reporter: Talat UYARER > Priority: Critical > > I try to use Gora 0.5 on Hadoop 2.5.2 cluster. However When I submit a job I > get this error. > {panel:title=Exception|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} > java.lang.Exception: java.lang.IncompatibleClassChangeError: Found interface > org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected > at > org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462) > at > org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522) > Caused by: 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:624) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:744) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340) > at > org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:243) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > {panel} > IMHO Reason of the problem is Our shim modules is not enough for abstraction > of hadoop1 and hadoop2. We should test our code on Hadoop 2 Testing utils. > Wdyt folks ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)